Microsoft Developer Network > Forenhomepage > Windows Azure > Silverlight 2 Service Reference
Stellen Sie eine FrageStellen Sie eine Frage
 

BeantwortetSilverlight 2 Service Reference

  • Sonntag, 23. November 2008 00:18David J Roh TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
     
    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.

Antworten

  • Sonntag, 23. November 2008 16:52Vikram DhaneshwarMSFTTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet
    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.
    • Als Antwort markiertDavid J Roh Montag, 24. November 2008 13:38
    •  

Alle Antworten

  • Sonntag, 23. November 2008 16:52Vikram DhaneshwarMSFTTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet
    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.
    • Als Antwort markiertDavid J Roh Montag, 24. November 2008 13:38
    •