简体   繁体   English

当请求连接Web服务时,Windows Mobile Pocket PC 2003应用程序“无法解析远程名称”异常

[英]Windows Mobile Pocket PC 2003 application “remote name cannot be resolved” exception when apppemt to connect web service

I'm developing a mobile application (on visual strudio 2005 sp1) and I get this exception when I try to reach the web service(written on sap). 我正在开发一个移动应用程序(在visual strudio 2005 sp1上),当我尝试访问Web服务(在SAP上编写)时遇到此异常。 But this is not all. 但这并不是全部。

When I run the app on emulator on computer(connecting internet with cable) it works fine. 当我在计算机上的模拟器上运行该应用程序(通过电缆连接互联网)时,它运行正常。 Also I installed the app to mobile device and no problem BUT only with cradle, I mean only works when it connected to computer with cable of cradle. 我也将应用程序安装到移动设备上,但仅使用底座没有问题,我的意思是仅当它通过底座电缆连接到计算机时才可以使用。

Problem starts if the app try to connect web service via wireless connection of our customer's internet.(unplugging from cradle). 如果该应用尝试通过我们客户互联网的无线连接来连接Web服务(从通讯座拔出),问题就开始了。

I figured out that if I write the WSDL link in IP form, device connects to web service(on wireless)(but not via code, by copying link to text file and clicking to it) but on other form device can't find web service's page. 我发现,如果我以IP形式编写WSDL链接,则设备将连接到Web服务(通过无线方式)(但不是通过代码,而是将链接复制到文本文件并单击以链接到它),但是在其他形式的设备上找不到Web服务页面。 I added the IP of web service to hosts file but problem still exists. 我已将Web服务的IP添加到主机文件,但问题仍然存在。

我通过从sap交易sicf中获取Web服务地址解决了这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 检测何时将Pocket PC停靠在Windows Mobile 2003的通讯座中 - Detecting when a Pocket PC is docked in a cradle in Windows Mobile 2003 Windows Mobile 5.0 Pocket PC中的相机 - camera in Windows Mobile 5.0 Pocket PC 在Pocket PC模拟器应用程序上调用.exe文件的未处理异常 - Unhandled exception calling a .exe file on pocket pc emulator application C#Web服务“无法解析远程名称” - C# Web Service “Remote name could not be resolved” Windows Mobile(C#代码) - 当设备连接到PC时,无法从Web下载数据 - Windows Mobile (C# code) - cannot download data from the Web when the device is connected to the PC 以 windows 服务运行 web 应用程序时拒绝连接到 localhost - Refused to connect to localhost when running web application as windows service 起始栏以最大化的形式显示(Pocket PC 2003) - Start Bar Shows Up Over Maximized Form (Pocket PC 2003) Windows Mobile App的WCF服务正在运行,但无法连接 - WCF Service for Windows Mobile App running but I cannot connect Docker 抛出异常,因为无法解析远程名称 - Docker throwing exception as The remote name could not be resolved 通过WIFI将Windows Mobile连接到客户端PC - Connect Windows Mobile to client PC over WIFI
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM