0 Replies Latest reply on May 8, 2008 8:10 AM by tu-vi cung

    namespace and unmarshalling issues

    tu-vi cung Newbie

      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>