简体   繁体   English

连接到同一网络上的WCF服务

[英]Connecting to WCF Service on the same network

I have a WCF service deployed on IIS7.5 on windows 7. It is using basicHttpBinding since this service is to be consumed through a windows mobile 6.5 application. 我在Windows 7的IIS7.5上部署了WCF服务,它使用basicHttpBinding,因为该服务将通过Windows Mobile 6.5应用程序使用。

If I try to connect from the same machine (192.168.0.201) everything works as it should. 如果我尝试从同一台计算机(192.168.0.201)连接,则一切正常。 However if I try to connect from another machine on the same network, (here's the weird part) It manages to find the service however any successive calls fail. 但是,如果我尝试从另一台计算机连接在同一个网络上,(这里的怪异的一部分),它设法找到该服务的任何但是连续调用失败。

If I browse to the service's wsdl page from a web browser it responds with "the page cannot be found", although the "you have created a service" page is found! 如果我从Web浏览器浏览到服务的wsdl页面,尽管找到了“您已经创建了服务”页面,但它的回答是“找不到页面”!

Note that browsing to wsdl page from the local machine works fine as well. 请注意,从本地计算机浏览到wsdl页面也可以正常工作。

Can anyone help please ? 有人可以帮忙吗?

Thanks in advance 提前致谢

There is more to it than just the endpoint. 它不仅限于端点。 Do you have a behavior? 你有行为吗? It is all in the documentation. 全部在文档中。

How to: Publish Metadata for a Service Using a Configuration File 如何:使用配置文件发布服务的元数据

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM