在Windows Phone 8中使用Web服务 [英] consume web services in windows phone 8

查看:90
本文介绍了在Windows Phone 8中使用Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个wcf webservices,我想在Windows Phone 8中使用它在我在模拟器上运行应用程序时工作正常但是当我试图把它在设备上发生错误"远程服务器返回错误未找到"

I have a wcf webservices and i want to consume in windows phone 8 it works fine when i run the application on emulator but when i try to put it on device the error occured that "The remote server returned an error not found"

}

推荐答案

我猜它可能是服务器端的网络限制也。

I guess it could be network restriction on server side also.

当您从仿真器访问它时可能正在考虑使用相同的网络,并且可能正在考虑它是由不同的网络和服务器阻止。

It might be considering the same network when you are accessing it from emulator and might be considering it is as different network and blocke by server.

这只是我的猜测,因为你提到它正在使用模拟器而不是设备。 这种错误的一般原因是不同的。

This is just my guess as you mentioned it is working on emulator and not device.  General reason for this kind of error is different.


这篇关于在Windows Phone 8中使用Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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