Windows Mobile平台Web Service调试经验一则
来源:互联网 发布:网络开店卖虚拟 编辑:程序博客网 时间:2024/04/29 21:33
刚开始学习 Windows Mobile平台上的Web Service,结果在模拟器上调试程序总是通不过。最后,郁闷的发现Url属性不能用localhost,必须用机器名。
private void button1_Click(object sender, EventArgs e)
...{
localhost.Service ws = new PPCClient.localhost.Service();
//这样写死活过不去,很奇怪
//ws.Url = "http://localhost/WebServiceDemo/Service.asmx";
//compaq-f76274c9是机器名
ws.Url = "http://compaq-f76274c9/WebServiceDemo/Service.asmx";
MessageBox.Show(ws.HelloWorld());
}
...{
localhost.Service ws = new PPCClient.localhost.Service();
//这样写死活过不去,很奇怪
//ws.Url = "http://localhost/WebServiceDemo/Service.asmx";
//compaq-f76274c9是机器名
ws.Url = "http://compaq-f76274c9/WebServiceDemo/Service.asmx";
MessageBox.Show(ws.HelloWorld());
}
写成localhost的时候在模拟器上用IE也可以打开服务的,不知道在程序里怎么就不行了,哪位高手指点一下。
- Windows Mobile平台Web Service调试经验一则
- Windows Mobile中的Web Service应用
- Windows Mobile中的Web Service应用
- Windows Mobile中的Web Service应用
- Windows Mobile中的Web Service应用
- 模拟Windows Mobile平台
- 模拟Windows Mobile平台
- Windows mobile service Development Guide
- Windows Mobile 开发平台搭建
- 使用Weinre调试Mobile Web
- Mobile Web调试工具Weinre
- Mobile Web调试工具Weinre
- Mobile Web调试工具Weinre
- Web Service平台概述
- Windows Mobile组件调试技术
- 远程调试Windows Mobile应用程序
- MapPoint URL Windows Mobile中的Web Service应用 - 《msdn开发精选》
- 调试Web Service
- Google Blogger 脱离Beta版 与Gmail账户绑定
- What should we do when we find an issue
- 我的故事(原创)~~~~~~
- 将SQL Server表变成txt文件
- 鼠标键盘模拟技术
- Windows Mobile平台Web Service调试经验一则
- C的文件操作
- C#编写的生成缩略图程序
- 我的星期天
- Re: 一著名软件公司的java笔试算法题!
- 在 Bean 中获得 Access 文件的绝对路径
- JavaScript 访问 JSF 组件的方法
- MyEclipse 5.0 + WebLogic 9.2 配置详解
- Network LookOut AIO