Hi all,

I am calling a webservice (managed by apache-gsoap) which is returning a
bool type .
I am setting the return type on the axis side as XSD_BOOLEAN .

While parsing the response axis is throwing the following exception :
Can somebody help in identifying the problem here ..

********************************
org.xml.sax.SAXException: Deserializing parameter 'result':  could not find
deserializer for type {http://www.w3.org/2001/XMLSchema}bool
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
        at org.apache.axis.client.Call.invoke(Call.java:2275)
        at org.apache.axis.client.Call.invoke(Call.java:2171)
        at org.apache.axis.client.Call.invoke(Call.java:1691)
        at GetQuote.getQuote(GetQuote.java:133)
        at GetQuote.main(GetQuote.java:148)
Caused by: org.xml.sax.SAXException: Deserializing parameter 'result':
could no
t find deserializer for type {http://www.w3.org/2001/XMLSchema}bool
        at
org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:302)
        at
org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese
rializationContextImpl.java:963)
        at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
va:198)
        at
org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
t.java:722)
        at
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:233)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:347)
        at org.apache.axis.client.Call.invoke(Call.java:2272)
        ... 4 more

********************************

Thanks,
Vinay


Reply via email to