asp.net - Web Service Error "There was no endpoint listening at..." Firewall Concern -


so have web service service reference works localhost , can pinged production url can't access via service reference call in production. believe issue firewall . have 2 websites on same server each own dedicated ip address. trying call web service on second website first website. if open browser on production server cannot navigate either website.

error description:there no endpoint listening @ http://[209.112.245.103]/services/offerservice.asmx accept message. caused incorrect address or soap action. see innerexception, if present, more details.

inner exception:unable connect remote server

the calling website on same server (different ip of course) , calling web service via service reference:

 dim offerservice new servicereferenceoffer.offerservicesoapclient("offerservicesoap")  offerservice.broadcastofferchange(offer.propertyid, offer.offerid, offer.resultresponse) 

and web.config contains following service endpoint information:

<system.servicemodel>         <bindings>             <basichttpbinding>                 <binding name="offerservicesoap" />                 <binding name="conversationservicesoap" />             </basichttpbinding>             <custombinding>                 <binding name="offerservicesoap12">                     <textmessageencoding messageversion="soap12" />                     <httptransport />                 </binding>                 <binding name="conversationservicesoap12">                     <textmessageencoding messageversion="soap12" />                     <httptransport />                 </binding>             </custombinding>         </bindings>         <client>             <endpoint address="http://209.112.245.103/services/conversationservice.asmx"                 binding="basichttpbinding" bindingconfiguration="conversationservicesoap"                 contract="servicereferenceconversation.conversationservicesoap"                 name="conversationservicesoap" />             <endpoint address="http://209.112.245.103/services/conversationservice.asmx"                 binding="custombinding" bindingconfiguration="conversationservicesoap12"                 contract="servicereferenceconversation.conversationservicesoap"                 name="conversationservicesoap12" />             <endpoint address="http://209.112.245.103/services/offerservice.asmx"                 binding="basichttpbinding" bindingconfiguration="offerservicesoap"                 contract="servicereferenceoffer.offerservicesoap" name="offerservicesoap" />             <endpoint address="http://209.112.245.103/services/offerservice.asmx"                 binding="custombinding" bindingconfiguration="offerservicesoap12"                 contract="servicereferenceoffer.offerservicesoap" name="offerservicesoap12" />         </client>     </system.servicemodel> 

your configurations correct. accessed server , went fine (so it's not code related).

since site , website in same server, may need use different ip or address access wcf (try 127.0.0.1, localhost or internal server ip).


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -