Announcement Announcement Module
Collapse
No announcement yet.
WSDL to auto expose SOAP Header ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • WSDL to auto expose SOAP Header ?

    Dear all,

    This is the question been asked quite a while in the Spring Web Services Forum. However seems un answered clearly till this time. Hence raising the problem statement again. We are facing the issue in one of my projects

    We are using DefaultWsdl11Definition to expose the XSD as a WSDL.

    We are having an Wss4jSecurityInterceptor which intercepts the incoming SOAP Messages. SOAP Message Header contains the <wsse:Security> information. In effect it contains many child elements as following.
    • wsse:BinarySecurityToken
    • ds:Signature
    • wsse:UsernameToken

    We have Java Web Service Client with ClientWebServiceTemplate and and security interceptors configurations.

    However, now we have a .Net Web Service Client, to whom we are supposed to share the complete WSDL. Complete WSDL in the sense, along with the SOAP Header structure expected in the WebService end point.
    <wsdl:operation name="getActualInvoiceOutput">
    <soap:operation soapAction=""/>
    <wsdl:input name="getActualInvoiceOutputRequest">
    <soap:body use="literal"/>
    <soap:header/>
    </wsdl:input>
    <wsdl:output name="getActualInvoiceOutputResponse">
    <soap:body use="literal"/>
    <soap:header/>
    </wsdl:output>
    </wsdl:operation>

    How to get the SOAP Header information auto generated in the WSDL.
    Your earliest reply would be greatly appreciable.

    Thanks in Advance
    Harish KM
Working...
X