aspose file tools
The moose likes Web Services and the fly likes getting the values in the SOAP header Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "getting the values in the SOAP header" Watch "getting the values in the SOAP header" New topic
Author

getting the values in the SOAP header

Alexandre Alleaume
Greenhorn

Joined: Feb 16, 2004
Posts: 11
Hello everybody.
I'm codding a web service and I wanted to modify the SOAP header from the server side. I've succed in that, but from the client side I want to see what is in the SOAP header and that's why I give you my problem.
So I've writting this code :

and in the console I see that :
element : [SessionID: null]
element : [NextRecord: null]

but, and here is my problem, in the SOAP header I can see that :
<soapenv:Header>
<SessionID soapenv:mustUnderstand="0" xmlns="">452e8512:fb351929eb:-7ff0</SessionID>
<NextRecord soapenv:mustUnderstand="0" xmlns="">3</NextRecord>
</soapenv:Header>

I want to use the values in my code.
please help me
Thanks in advance.
[ March 10, 2004: Message edited by: Alexandre Alleaume ]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: getting the values in the SOAP header
 
Similar Threads
AXIS2 : Inclusion of Headers into SOAP fault message and changing the namespaces
how to implement ws-security in soap request header
Invoke .NET Web Service using Java/Axis passing SoapHeader
WS Security Related
Rampart/Axis2 not generating Security Header.