Friends, I'm building a file wsdl
that carries a header
and body
, which I build them in the binding of the same, the problem is when I generate the input request where the header
is not build with the attributes with which I am creating.
<wsdl:message name="NameVersionInfoHeader">
<wsdl:part name="VersionInfoHeader" element="tns:VersionInfoHeader" />
</wsdl:message>
<wsdl:binding name="ServiceSoapBinding" type="tns:ServiceSoap">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="CreateVersion">
<soap:operation soapAction="http://comverse-in.com/prepaid/ccws/CreateVersion" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
<soap:header message="tns:NameVersionInfoHeader" part="VersionInfoHeader" use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
<soap:header message="tns:NameVersionInfoHeader" part="VersionInfoHeader" use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
This is the way I build my wsdl
. The header I need to create with this structure.
<soapenv:Header>
<ccws:VersionInfoHeader>
<ccws:ProductVersion></ccws:ProductVersion>
<ccws:CustomerVersion></ccws:CustomerVersion>
</ccws:VersionInfoHeader>
</soapenv:Header>
Only generates the following
<soapenv:Header/>
Thankful if anyone can help me.