aspose file tools*
The moose likes Web Services and the fly likes Issues while creating a SOAP message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Issues while creating a SOAP message" Watch "Issues while creating a SOAP message" New topic
Author

Issues while creating a SOAP message

Akshay Lele
Greenhorn

Joined: Apr 06, 2009
Posts: 8
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.

Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1164
Ok, so what's the issue?

Regards,
Dan


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issues while creating a SOAP message
 
Similar Threads
Question regarding MZ notes
How to get document object From SOAP Message?
SOAP over TCP
Question: WS-I Profile Basic 1.0a R1005
Axis client for jboss ejb3 session bean web service