如何在Windows Phone 8模拟器上运行Web服务

时间:2015-04-30 15:00:41

标签: web-services windows-phone-8

我创建了一个Web服务,我在运行模拟器的Windows Phone 8应用程序中调用它,但它会抛出异常。参考屏幕截图: enter image description here

以下是例外:

System.ServiceModel.CommunicationException was unhandled by user code
  HResult=-2146233087
  Message=The remote server returned an error: NotFound.
  Source=System.ServiceModel
  InnerException: System.Net.WebException
       HResult=-2146233079
       Message=The remote server returned an error: NotFound.
       Source=System.Windows
       InnerException: System.Net.WebException
            HResult=-2146233079
            Message=The remote server returned an error: NotFound.
            Source=System.Windows
            InnerException: 

请帮帮我

0 个答案:

没有答案