You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Rokibul Islam Khan <ro...@spectrum-bd.com> on 2004/11/02 08:34:07 UTC

Soap Call

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="http://saturn:8080/axis/services/ResultService">

   <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