RSS Feed for This PostCurrent Article

.NET: Error Adding Web Reference for Soap 1.2 Web Service

There is a weird error that I encountered when I tried to add a web reference in .NET. Look like Microsoft is not following the standard ?

There is no SoapTransportImporter that understands 
the transport 
'http://www.w3.org/2003/05/soap/bindings/HTTP/'

Look like the following line in the WSDL is causing the problem

<wsdl:binding name="SDPServicesHttpBinding" 
type="tns:SDPServicesInterface">
<soap12:binding style="document" 
transport="
http://www.w3.org/2003/05/soap/bindings/HTTP/" /> 

I have to change it to http://www.w3.org/2003/05/soap/bindings/HTTP/ to http://schemas.xmlsoap.org/soap/http

wsdl:binding name="SDPServicesHttpBinding" 
type="tns:SDPServicesInterface">
<soap12:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>


Trackback URL


Sorry, comments for this entry are closed at this time.