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>
 
Ad

Advertisements


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

Top