Apache AXIS Custom Header

M

malli

Hi

I am using Apache AXIS WSDL2Java to create Web service client, I
need to add a custom SOAP header for the request..... How to do this?
Some One help me in adding headers....


the request should be

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<wsa:MessageID xmlns:wsa="http://www.w3.org/2005/03/
addressing">Message_Id
</wsa:MessageID>
.
.
</soapenv:Header>
<soapenv:Body>
....
....
</soapenv:Body>

</soapenv>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,062
Latest member
OrderKetozenseACV

Latest Threads

Top