[jboss-user] [JBossWS] - Re: Getting handle of the original XML message in JAX-WS

jimpo do-not-reply at jboss.com
Fri Aug 29 07:03:30 EDT 2008


As an example, web service request that contains

  | <vac:archiveDecision>
  |  <vac:employeeNumber>123</vac:employeeNumber>
  |  <vac:decision>
  |   <foo>
  |    dsadsa
  |   </foo>
  |   <bar>
  |    <baz>asdasd</baz>
  |    <baz2>asdasd</baz2>
  |   </bar>
  |  </vac:decision>
  | </vac:archiveDecision>

Should be mapped into Java object

class Some {
  | int employeeNumber;
  | String decision
  | }

with values employeeNumber = 123, 
  | decision = "<vac:decision><foo>dsadsa</foo><bar><baz>asdasd</baz><baz2>asdasd</baz2></bar></vac:decision>"

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173294#4173294

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173294



More information about the jboss-user mailing list