• Post Reply Bookmark Topic Watch Topic
  • New Topic

create a normal request xml from soap xml

 
aneesh veetile
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!