File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Issues while creating a SOAP message" Watch "Issues while creating a SOAP message" New topic

Issues while creating a SOAP message

Akshay Lele

Joined: Apr 06, 2009
Posts: 10
Hi All,

I have to create a SOAP message as below:

<soapenv:Envelope xmlns:soapenv="">

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="">

Any help would be much appreciated.

Dan Drillich
Ranch Hand

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


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:
subject: Issues while creating a SOAP message
It's not a secret anymore!