Hello,
I'm also looking for method to add header definition to the generated WSDL. E.g:
Code:
<wsdl:binding name="ServiceSoap11" type="tns:Service">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<wsdl:operation name="Operation">
<soap:operation soapAction="" />
<wsdl:input>
<soap:body parts="request" use="literal"/>
<soap:header message="tns:HeaderMessage" part="SomePart" use="literal"/>
</wsdl:input>
<wsdl:output>
...
</wsdl:output>
</wsdl:operation>
I don't know how to customize DefaultWsdl11Definition bean for soap:header element in the binding part.
Any help will be appreciated. I would like to avoid editing WSDL by hand.
Marcin