locked
There was no endpoint listening at RRS feed

  • Question

  • User-1433364913 posted

    Hi everyone,

    I have a web service like this one:

    <system.serviceModel>
    <extensions>
    <behaviorExtensions>
    <add name="portName" type="xxx.WebService.Operations.Core.Behaviors.PortNameWsdlBehaviorExtension, xxx.WebService.Operations" />
    </behaviorExtensions>
    </extensions>

    <!--Sonradan ekledim-->
    <bindings>
    <basicHttpBinding>
    <binding name="sslBindingConfiguration">
    <security mode="Transport" />
    </binding>
    </basicHttpBinding>
    </bindings>

    <behaviors>
    <serviceBehaviors>
    <behavior>
    <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" externalMetadataLocation="https://www.abc.com.tr/xxx/XXXWebService.svc" />
    <serviceDebug includeExceptionDetailInFaults="true"/>
    </behavior>
    </serviceBehaviors>
    <endpointBehaviors>
    <behavior name="customPortName">
    <portName name="RequestMerchInfoServicePort" />
    </behavior>
    </endpointBehaviors>
    </behaviors>
    <services>
    <service name="XXX.WebService.XXXWebService">
    <endpoint address="" binding="basicHttpBinding"
    contract="XXX.WebService.Operations.Wrapper.IBKMWebService"
    bindingConfiguration="sslBindingConfiguration"
    behaviorConfiguration="customPortName"
    bindingNamespace="http://www.abc.com.tr"
    name="RequestMerchInfoServicePortBinding" />
    <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
    </service>
    </services>
    </system.serviceModel>

    Deployed it to server but when i call by browser it works good but when i check wsdl

    <soap:address location="https://nameiis/xxx/XXXWebService.svc"/>

    i expect location="https://abc.com.tr/xxx/XXXWebService.svc" but there i see server name

    I have loadbalancer , is it cause problem.

    Can you help me ?

    Thanks.

    Monday, June 3, 2013 9:05 AM

Answers

  • User422354331 posted

    If I'm perfectly honest, we had the hosting company look at it for us and they could not figure it out. So we put it on a server outside of the load balancer and everything was perfect. Although before we did that I wrote the service as a RESTful service.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 3, 2013 1:59 PM

All replies

  • User220959680 posted

    check wsdl

    <soap:address location="https://mersaiis/bkm/BKMWebService.svc"/>

    i expect location="https://bayinet.com.tr/abc/BKMWebService.svc" but there i see server name

    I have loadbalancer , is it cause problem.

    Service URI is made up of the folder where service is published plus the end point. As the service has been published to the folder/location of https://mersaiis/bkm service URI is https://mersaiis/bkm/  plus the serviec end point i.e., BKMWebService.svc , complete URI is https://mersaiis/bkm/BKMWebService.svc

    Elaborate the load balancer when the above doesnot answer the query.

    Monday, June 3, 2013 9:37 AM
  • User-1433364913 posted

    Thnks for your attention, but i publish service under https://bayinet.com.tr/bkm/BKMService.svc , 

    this URI is https://mersaiis/bkm/BKMWebService.svc wrong address, 

    Monday, June 3, 2013 10:06 AM
  • User422354331 posted

    If I'm perfectly honest, we had the hosting company look at it for us and they could not figure it out. So we put it on a server outside of the load balancer and everything was perfect. Although before we did that I wrote the service as a RESTful service.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 3, 2013 1:59 PM
  • User-1433364913 posted

    RedDwarf thanks your answer. 

    Monday, June 3, 2013 2:34 PM