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

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 1175
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.
It is sorta covered in the JavaRanch Style Guide.
subject: Issues while creating a SOAP message