端点地址错误 [英] Endpoint address error

查看:127
本文介绍了端点地址错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我是香卡.
我创建了启用了Silverlight的WCF服务,并尝试在click事件中从Windows Mobile应用程序(vs2008)调用该WCF服务. "service.svc",它可能接受该消息.这通常是由错误的地址或SOAP操作引起的."
我需要解决此错误的方法.
问候,
S.Shankar.

Hi,
This is Shankar.
I have created a Silverlight enabled WCF Service and i am trying to call that WCF Service from Windows Mobile Application(vs2008) in the click event.But i receive error as "There was no endpoint listening at "http://hostname/solutionname/service.svc" that could accept the message. This is often caused by an incorrect address or SOAP action".
I need solution for this error.
With regards,
S.Shankar.

推荐答案

步骤1.确保仅在服务器启动时对服务器执行ping操作.通常,这是访问服务时的一个典型问题,即使服务器未启动,客户端也会ping服务器.
步骤2.确保客户端和服务器中的配置文件没有不同的地址
Step 1. Ensure you are pinging the server only if it is started. Normally, this is a typical issue while accessing the service, client pings the server even if it is not started.
Step 2. Ensure that config file in both client and server does not have different address


这篇关于端点地址错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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