aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes create a normal request xml from soap xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "create a normal request xml from soap xml" Watch "create a normal request xml from soap xml" New topic
Author

create a normal request xml from soap xml

aneesh veetile
Greenhorn

Joined: Feb 15, 2012
Posts: 9
Hi,

I am getting a soap request as input xml. I want to unmarshall it using jaxb. Since it is a soap request, i dont think i can unmarshall it since the xsds defined for the same are not supporting soap envelopes.

How can i convert this soap request to a normal request? I mean removing soap envelopes like <soapenv:Envelope>, <soapenv:Header>, <soapenv:Body> etc and create a normal xml request with out any of these soap envelopes. is there any samples for the same? could you please help me out?

Regards,
Aneesh

aneesh veetile
Greenhorn

Joined: Feb 15, 2012
Posts: 9
sorry for posting in the wrong place. I have reposted the same in webservice xml. apologize for the incovenience.


Regards,
Aneesh
aneesh veetile wrote:Hi,

I am getting a soap request as input xml. I want to unmarshall it using jaxb. Since it is a soap request, i dont think i can unmarshall it since the xsds defined for the same are not supporting soap envelopes.

How can i convert this soap request to a normal request? I mean removing soap envelopes like <soapenv:Envelope>, <soapenv:Header>, <soapenv:Body> etc and create a normal xml request with out any of these soap envelopes. is there any samples for the same? could you please help me out?

Regards,
Aneesh

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: create a normal request xml from soap xml