[jboss-user] [JBossWS] - namespace and unmarshalling issues

regget do-not-reply at jboss.com
Thu May 8 08:10:42 EDT 2008


Hi, I have a web service deployed using the top-down approach.  The web service is running and i'm referencing my wsdl file.  
The problem occurs when I'm making web service calls.  The web service is having trouble marshalling the input xml message to object.  I will end up with an empty object.  However, when I strip out the namespaces below the root element, the object is populated correctly.  What is causing this?

example of the problem:
input/parameter object is populated with following xml -


  | <ins:getRates>
  |    <header><type>1</type></header>
  |    <payload>
  |        <experience>
  |            <licenceType>g</licenceType>
  |        </experience>
  |    </payload>
  | </ins:getRates>
  | 

but the input object is empty with the following xml

  | <ins:getRates>
  |    <ins:header><hs:type>1</hs:type></ins:header>
  |    <ins:payload>
  |        <dvr:experience>
  |            <dvr:licenceType>g</dvr:licenceType>
  |        </dvr:experience>
  |    </ins:payload>
  | </ins:getRates>
  | 

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

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



More information about the jboss-user mailing list