Hi,

I've specified a WSDL for an OrderService. Inside my Binding I have defined
that a SOAP Header should be send.

<<<WSDL
...
   <binding name="OrderServiceBinding" type="tns:orderServicePort">
        <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="createOrder">
            <soap:operation soapAction="http://localhost/adf/OrderService"/>
            <input>
                <soap:header message="tns:systemRequest" part="parameters"
use="literal"/>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>
    </binding>
WSDL >>>



<<<SOAP
...
   <Header>
        <adf:system id="1" version="1">
            <adf:loginuseremail>[EMAIL PROTECTED]</adf:loginuseremail>
        </adf:system>
    </Header>
...
SOAP>>>

The request and response works fine. Also the Javacode for the payload is
executed.
Now some questions:
1) How and where can I access the data from the SOAP Header?
2) If I remove the Header Stuff from my SOAP Request, everything stil works
fine. 
(Do I need must understand = true to make it required)

Thanks!





-- 
View this message in context: 
http://www.nabble.com/CXF-access-SOAP-Header-tp14314133s12049p14314133.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to