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
aneesh veetile wrote:
Peter Johnson wrote:Which plugin are you using? Is it this one: http://jaxb.java.net/jaxb-maven2-plugin/
Are you sure you are using the correct plugin for your configuration file version?
By the way, telling some details on what you are doing and what technologies you are employing, including their versions, would help.
Thanks for your reply!
I am using the following plugin and version
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>0.8.0</version>
Actually i am developing a part of webservice using RAD, websphere application server 7.0, java 1.6 and jaxb.
I would be getting an xml request and i would be converting it into java objects using jaxb for preedit and post the request on to a server.
I am using maven for building it. i am trying to create the jaxb objects from the xsds. inside one of the xsds my script is failing.
following are the jaxb dependencies in my pom
please let me know if you need any other information.
Regards,
Aneesh
Peter Johnson wrote:Which plugin are you using? Is it this one: http://jaxb.java.net/jaxb-maven2-plugin/
Are you sure you are using the correct plugin for your configuration file version?
By the way, telling some details on what you are doing and what technologies you are employing, including their versions, would help.