在“http:// localhost / Myservice”中没有端点监听那可以接受这个消息。这通常是由错误的地址或SOAP操作引起的。有关更多详细信息,请参阅InnerException(如果存在)。 [英] There was no endpoint listening at "http://localhost/Myservice" that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
问题描述
hi
当我的应用程序运行一段时间后
im收到此错误
没有端点正在侦听"http:// localhost / Myservice"那可以接受这个消息。这通常是由错误的地址或SOAP操作引起的。有关详细信息,请参阅InnerException(如果存在)。
在我的WP7应用中,从BD获取数据"洛尔"使用WCF
此处来自WCF的App.config
<?xml version =" 1.0"编码= QUOT; UTF-8英寸?>
< configuration>
< connectionStrings>
< add name =" lol" connectionString =" Data Source = CRIXUSR \ BD; Initial Catalog = lol; Integrated Security = True" />
< / connectionStrings>
< system.serviceModel>
< behavior>
< serviceBehaviors>
< behavior name =" NewBehavior1" >
< serviceDebug />
< serviceMetadata httpGetEnabled =" true" httpGetUrl = QUOT; HTTP://本地主机:8080 / MYSERVICE"
httpGetBinding =" webHttpBinding" httpGetBindingConfiguration = QUOT; Http_EndPoint" />
< / behavior>
< / serviceBehaviors>
< / behavior>
< services>
< service behaviorConfiguration =" NewBehavior1"命名= QUOT; WCF_ISI_PHONE.ServiceISI">
< endpoint address =" http:// localhost:8080 / MyService"结合= QUOT; basicHttpBinding的"
bindingConfiguration =""名称= QUOT; Http_EndPoint"合同= QUOT; WCF_ISI_PHONE.IApp_ISI" />
< / service>
< / services>
< /system.serviceModel>
< / configuration>
以及来自WP7 app的servicereferences.clientconfig
< configuration>
< system.serviceModel>
< bindings>
< basicHttpBinding>
< binding name =" Http_EndPoint" closeTimeout = QUOT; 00:10:00" openTimeout = QUOT; 00:10:00"
receiveTimeout =" 00:10:00"的SendTimeout = QUOT; 00:10:00" MAXBUFFERSIZE = QUOT; 2000000"
maxReceivedMessageSize =" 2000000">
< security mode =" None" />
< / binding>
< / basicHttpBinding>
< / bindings>
< client>
< endpoint address =" http:// localhost:8080 / MyService"结合= QUOT; basicHttpBinding的"
bindingConfiguration =" Http_EndPoint"合同= QUOT; Proxy.IApp_ISI"
name =" Http_EndPoint" />
< / client>
< /system.serviceModel>
< / configuration>
我需要快速修复此错误
我需要帮助
您好
CrixusR,
你可以考虑在遵循更合适的论坛以获得更有效的回应。谢谢!
wp7: http://forums.create .msdn.com / forums / default.aspx?GroupID = 19
wcf: http://social.msdn.microsoft.com/forums/en-US/wcf/threads/
hi
when my app its running after a while
im get this error,
There was no endpoint listening at "http://localhost/Myservice" that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
in my WP7 app, that get data from a BD called "lol" with a WCF
here my App.config from WCF
<?xml version="1.0" encoding="utf-8" ?> <configuration> <connectionStrings> <add name="lol" connectionString="Data Source=CRIXUSR\BD;Initial Catalog=lol;Integrated Security=True"/> </connectionStrings> <system.serviceModel > <behaviors > <serviceBehaviors > <behavior name="NewBehavior1" > <serviceDebug /> <serviceMetadata httpGetEnabled="true" httpGetUrl="http://localhost:8080/Myservice" httpGetBinding="webHttpBinding" httpGetBindingConfiguration="Http_EndPoint" /> </behavior> </serviceBehaviors> </behaviors> <services > <service behaviorConfiguration="NewBehavior1" name="WCF_ISI_PHONE.ServiceISI"> <endpoint address="http://localhost:8080/MyService" binding="basicHttpBinding" bindingConfiguration="" name="Http_EndPoint" contract="WCF_ISI_PHONE.IApp_ISI" /> </service> </services> </system.serviceModel> </configuration>
and the servicereferences.clientconfig from WP7 app
<configuration> <system.serviceModel> <bindings> <basicHttpBinding> <binding name="Http_EndPoint" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferSize="2000000" maxReceivedMessageSize="2000000"> <security mode="None" /> </binding> </basicHttpBinding> </bindings> <client> <endpoint address="http://localhost:8080/MyService" binding="basicHttpBinding" bindingConfiguration="Http_EndPoint" contract="Proxy.IApp_ISI" name="Http_EndPoint" /> </client> </system.serviceModel> </configuration>
i need to fix this error quickly
i need help
Hi CrixusR,
You can consider posting it at the following more appropriate forum for more efficient responses. Thanks!
wp7: http://forums.create.msdn.com/forums/default.aspx?GroupID=19
wcf: http://social.msdn.microsoft.com/forums/en-US/wcf/threads/
这篇关于在“http:// localhost / Myservice”中没有端点监听那可以接受这个消息。这通常是由错误的地址或SOAP操作引起的。有关更多详细信息,请参阅InnerException(如果存在)。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!