Skip to main content

Java ws Jboss7 reading SOAP Header

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2013-02-26

I need to read a SOAP header. Below is the xml being sent:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:ns1="" xmlns:ns2="">
    <ns2:header id="ref1">
        <user_agent>Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0</user_agent>
    <ns2:header href="#ref1"/>

I need to read the inside the ns2:header that contains session_id etc...