Hi All,
I have to create a
SOAP message as below:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body/>
</soapenv:Envelope>
To achieve this i created an instance of SOAPMessage object using MessageFactory.newInstance().createMessage().
The problem is it gives me the SOAP message in default format as below:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body/>
</SOAP-ENV:Envelope>
Any help would be much appreciated.