Hi im trying to use the soap logic sheet in XSP. I have a service named ResultService run another server. Im trying to invoke the getResult method from it. The return type of the method is String. Im trying by the following code in my xsp.

 

 

<soap:call url="">

   <getResult>

    <getResultRequest>

     <in0>2003</in0>

     <in1>Residencial School</in1>

     <in2>0003</in2>

    </getResultRequest>

   </getResult>

  </soap:call>

 

But it was giving the following error

 

soapenv:Server.userException org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.

 

And the actual text that cocoon serialize is :

 

<soapenv:Body>

  <soapenv:Fault>

  

<faultcode>soapenv:Server.userException</faultcode>

  

<faultstring>org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.</faultstring>

  

<detail></detail>

  </soapenv:Fault>

 </soapenv:Body>

</soapenv:Envelope>

 

 

Can give any idea how I can solve it.

 

rokib

Reply via email to