Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create a normal xml request from a soap request?

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic