好吧,我知道这是OLD技术,但是我几年前就搁置了一些我曾经搁置过的东西,这让我不知所措...... b $ b我知道我们已经全部转移到iOS,Android,手机间隙等等。 这是一个旧的 Windows移动5应用程序/ VS 2005和一个ASP.NET Web服务问题。 在ASP.Net中开发了一个Web服务。在VS 2005中开发了一个移动应用程序。
我可以从开发机器和 模拟器浏览器浏览到Web服务但是当我尝试从模拟器上的移动应用程序调用Web服务时,我收到"无法连接到"的异常错误网络' 让我疯了......我认为它的IP地址或权限错误... $ 任何旧的WM / ASP大师出来可能有帮助?
解决方案
您好,
如果您在WebService URL中使用localhost,请使用IP地址。
此处类似问题:
social.msdn.microsoft/Forums/en/windowsmobiledev/thread/390e2c6a-40d9-4040-9cb3-2365a5d9e00b
OK I know this is OLD technology but I'm tinkering about with something that I shelved years ago and its been bugging me to do it... I know we've all moved on to iOS, Android , Phone gap, etc etc etc .. This an old Windows mobile 5 application / VS 2005 and an ASP.NET web service issue. Developed a web service in ASP.Net developed a mobile Application in VS 2005.
I can browse to web service from both development machine and emulator browsers but when I try to invoke the web service from mobile application on the emulator I get a exception error of 'cannot connect to network' Driving me mad..I reckon its an IP address or permissions error... Any old WM /ASP gurus out there might help??
解决方案Hi,
Use the IP address if you are using localhost in WebService URL.
Similar problem here:
social.msdn.microsoft/Forums/en/windowsmobiledev/thread/390e2c6a-40d9-4040-9cb3-2365a5d9e00b
更多推荐
Windows Mobile 5&网页服务
发布评论