Microsoft Developer Network > 포럼 홈 > Windows Azure > Silverlight 2 Service Reference
질문하기질문하기
 

답변됨Silverlight 2 Service Reference

  • 2008년 11월 23일 일요일 오전 12:18David J Roh 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
     
    I have added a WCF service to a basic Azure cloud app - http://unique.cloudapp.net/ImageService.svc?wsdl
     
    I have a Silverlight 2 application that I am trying to add a a service reference too; however, the following error results 
     
    The document was understood, but it could not be processed.
      - The WSDL document contains links that could not be resolved.
      - There was an error downloading 'http://rd00155d3059d8:20000/ImageService.svc?xsd=xsd0'.
      - The remote name could not be resolved: 'rd00155d3059d8'
    Metadata contains a reference that cannot be resolved: 'http://unique.cloudapp.net/ImageService.svc?wsdl'.
    Content Type application/soap+xml; charset=utf-8 was not supported by service http://unique.cloudapp.net/ImageService.svc?wsdl.  The client and service bindings may be mismatched.
    The remote server returned an error: (415) Cannot process the message because the content type 'application/soap+xml; charset=utf-8' was not the expected type 'text/xml; charset=utf-8'..
    If the service is defined in the current solution, try building the solution and adding the service reference again.

답변

  • 2008년 11월 23일 일요일 오후 4:52Vikram DhaneshwarMSFT사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    WCF metadata discovery does not work correctly for services running under Windows Azure in the CTP release. A workaround is to run the WCF service locally under the VS developmenet web server and add a service reference to it to generate the WCF client proxy. Please search for WCF in this forum to see other threads where this issue has been discussed.
    • 답변으로 표시됨David J Roh 2008년 11월 24일 월요일 오후 1:38
    •  

모든 응답

  • 2008년 11월 23일 일요일 오후 4:52Vikram DhaneshwarMSFT사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    WCF metadata discovery does not work correctly for services running under Windows Azure in the CTP release. A workaround is to run the WCF service locally under the VS developmenet web server and add a service reference to it to generate the WCF client proxy. Please search for WCF in this forum to see other threads where this issue has been discussed.
    • 답변으로 표시됨David J Roh 2008년 11월 24일 월요일 오후 1:38
    •