Click here to Skip to main content
15,910,981 members

Comments by prince_arjun (Top 8 by date)

prince_arjun 6-Sep-12 8:08am View    
<system.servicemodel>
<bindings>
<basichttpbinding> abcd


<client>
<endpoint address="x"
="" binding="basicHttpBinding" bindingconfiguration="xServiceSoap11Binding" contract="xServicePortType" name="xHttpSoap11Endpoint">
<endpoint address="y"
="" binding="basicHttpBinding" bindingconfiguration="ySoap11Binding" contract="yServicePortType" name="yHttpSoap11Endpoint">

prince_arjun 6-Sep-12 8:07am View    
Deleted
<system.servicemodel>
<bindings>
<basichttpbinding>
abcd


<client>
<endpoint address="x"
="" binding="basicHttpBinding" bindingconfiguration="xServiceSoap11Binding" contract="xServicePortType" name="xHttpSoap11Endpoint">
<endpoint address="y"
="" binding="basicHttpBinding" bindingconfiguration="ySoap11Binding" contract="yServicePortType" name="yHttpSoap11Endpoint">

prince_arjun 6-Sep-12 8:07am View    
Deleted
This is my app.config file:

<system.servicemodel>
<bindings>
<basichttpbinding>
xxxxxxx


<client>
<endpoint address="x"
="" binding="basicHttpBinding" bindingconfiguration="xServiceSoap11Binding" contract="xServicePortType" name="xHttpSoap11Endpoint">
<endpoint address="y"
="" binding="basicHttpBinding" bindingconfiguration="ySoap11Binding" contract="yServicePortType" name="yHttpSoap11Endpoint">

prince_arjun 6-Sep-12 7:59am View    
I also tried using the overloaded operator like:
YourServiceClient service_obj = new YourServiceClient("EndPointName");,
still i get the same error above.

My config file:
<system.servicemodel> <bindings> <basichttpbinding> xxxxxxx <client> <endpoint address="x" binding="basicHttpBinding" bindingconfiguration="xServiceSoap11Binding" contract="xServicePortType" name="xHttpSoap11Endpoint"> <endpoint address="y" binding="basicHttpBinding" bindingconfiguration="ySoap11Binding" contract="yServicePortType" name="yHttpSoap11Endpoint">
prince_arjun 6-Sep-12 7:58am View    
I also tried using the overloaded operator like:
YourServiceClient service_obj = new YourServiceClient("EndPointName");,
still i get the same error above.