从SilverLight访问Device中托管的Web服务 [英] Access webservice hosted in Device from SilverLight

查看:72
本文介绍了从SilverLight访问Device中托管的Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,

Hello All,

我试过以下链接,其中解释了关于掌上电脑的网络服务器。

I tried this below link in which thy explained about web server for pocket pc.

http://msdn.microsoft.com/en-us/library/aa446537.aspx#反馈

现在我能够在wince 7设备中托管网络服务(.asmx C#),我可以通过IE访问.asmx链接,但当我添加到SilverLight,来自服务参考我收到"自定义工具错误:无法生成服务引用的代码"

Now i am able to hoste web service(.asmx C#) in wince 7 device, i can access the .asmx link thorugh IE,but when i add it to SilverLight , from Service Reference i am getting "Custom tool error : failed to generate code for the service reference"

但我可以从asp.net Web应用程序访问相同的Web服务,但无法通过SilverLight进行此操作。请帮助

but i am able to access same web service from asp.net web application, but unable to do it from SilverLight. Please help

推荐答案

在我们的博客上查看:  http://guruce.com/blogpost/hosting-webservices-on-wec-using- gsoap-windows-phone-75-mango-client-application

 

Erwin Zwart刚刚发布了一个确切的例子你需要,幸运的是你!

Erwin Zwart just posted an example of exactly what you need, lucky you!


这篇关于从SilverLight访问Device中托管的Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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