wsdl indicates soap 1.1 namespace, but client composes soap 1.2 messages.
I've developed a web service with a wsdl file, which I'll post below, that a .NET client is consuming and creating an object from. My web service server can only read soap messages that are in soap 1.1 format. From what I can tell the .NET client is composing and sending requests in soap 1.2 format.
The offending tags in the soap message are the enclosing envelope tags:
<soap:Envelope...>...</soap:Envelope>
while my server expects:
<SOAP-ENV:Envelope...>...</SOAP-ENV:Envelope>
The wsdl file is referencing the soap 1.1 namespace which indicates to me that the .NET client would compose a message based on that. I will post my wsdl file below. The .NET client is coming from VB .NET. Is there a way to force the vb code to use a specific soap version? The developer tells me he's just using what is being generated from the wsdl file. Here is my wsdl file:
<?xml version="1.0"?>
<definitions name="SOD"
targetNamespace="urn
xmlns:typens="urn
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns
xmlns
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/" >
<!-- Types for search - result elements, directory categories -->
<types>
<xsd
targetNamespace="urn
<xsd:complexType name="SODSearchResult">
<xsd:all>
<xsd:element name="documentFiltering" type="xsd:boolean"/>
<xsd:element name="searchComments" type="xsd
tring"/>
<xsd:element name="estimatedTotalResultsCount" type="xsd:int"/>
<xsd:element name="estimateIsExact" type="xsd:boolean"/>
<xsd:element name="resultElements" type="typens:ResultElementArray"/>
<xsd:element name="searchQuery" type="xsd
tring"/>
<xsd:element name="startIndex" type="xsd:int"/>
<xsd:element name="endIndex" type="xsd:int"/>
<xsd:element name="searchTips" type="xsd
tring"/>
<xsd:element name="directoryCategories" type="typens
irectoryCategoryArray"/>
<xsd:element name="searchTime" type="xsd
ouble"/>
</xsd:all>
</xsd:complexType>
<xsd:complexType name="ResultElement">
<xsd:all>
<xsd:element name="summary" type="xsd
tring"/>
<xsd:element name="URL" type="xsd
tring"/>
<xsd:element name="snippet" type="xsd
tring"/>
<xsd:element name="title" type="xsd
tring"/>
<xsd:element name="cachedSize" type="xsd
tring"/>
<xsd:element name="relatedInformationPresent" type="xsd:boolean"/>
<xsd:element name="hostName" type="xsd
tring"/>
<xsd:element name="directoryCategory" type="typens
irectoryCategory"/>
<xsd:element name="directoryTitle" type="xsd
tring"/>
</xsd:all>
</xsd:complexType>
<xsd:complexType name="ResultElementArray">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="typens:ResultElement[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="DirectoryCategoryArray">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="typens
irectoryCategory[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="DirectoryCategory">
<xsd:all>
<xsd:element name="fullViewableName" type="xsd
tring"/>
<xsd:element name="specialEncoding" type="xsd
tring"/>
</xsd:all>
</xsd:complexType>
</xsd
chema>
</types>
<!-- Messages Web APIs -->
<message name="method_call_in_question">
<part name="username" type="xsd
tring"/>
<part name="password" type="xsd
tring"/>
<part name="xid" type="xsd
tring"/>
</message>
<message name="method_call_in_questionResponse">
<part name="return" type="xsd:base64Binary"/>
</message>
<!-- Port Web APIs, "SOD" -->
<portType name="SODPort">
<operation name="method_call_in_question">
<input message="typens:method_call_in_question"/>
<output message="typens:method_call_in_questionResponse"/>
</operation>
</portType>
<!-- Binding for Web APIs - RPC, SOAP over HTTP -->
<binding name="SODBinding" type="typens
ODPort">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="method_call_in_question">
<soap
peration style="rpc" soapAction="urn
ODAction"/>
<input>
<soap:body use="encoded"
namespace="urn
OD"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded"
namespace="urn
OD"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<!-- Endpoint-->
<service name="SODService">
<port name="SODPort" binding="typens
ODBinding">
<soap:address location="https://dev.endpoint.com/ws/"/>
</port>
</service>
</definitions>
Any suggestions and help would be very appreciated. Thanks.

