How to add header to
soap response using axis2? I have a client ----
and a service from where the header will be set as soap response as -
But the response message I am getting as -
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/><soapenv:Body><ns:sendResponseOrAckResponse xmlns:ns="http://service.ttg.tcs.com/xsd"><ns:return>org.apache.axis2.saaj.SOAPMessageImpl@179953c</ns:return></ns:sendResponseOrAckResponse></soapenv:Body></soapenv:Envelope>
In the response message see that the header is blank. I want the headers under the header tag and the body contents under the body tag. Right now the entire response comes under body tag.
Please help me to solve the problem.
Thanks in advance.