Windows Mobile 5&网页服务 [英] Windows Mobile 5 & web services

查看:94
本文介绍了Windows Mobile 5&网页服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我知道这是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地址。


此处类似问题:


http://social.msdn.microsoft.com/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:

http://social.msdn.microsoft.com/Forums/en/windowsmobiledev/thread/390e2c6a-40d9-4040-9cb3-2365a5d9e00b


这篇关于Windows Mobile 5&网页服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆