Hello,

 

I'm trying to extend my web service with handlers.

My client send a java bean to the server and back. Without handlers the service works fine.

But when a handler is added using

 

call.setClientHandlers(new Handler(),null);  

 

I get the following exception

 

org.xml.sax.SAXException: Deserializing parameter 'findT_BatteryReturn':  could not find deserializer for type {http://test.martin}T_BatteryData

      at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:276)

      at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:893)

      at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:200)

      at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:684)

      at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:241)

      at org.apache.axis.message.RPCElement.getParams(RPCElement.java:265)

      at org.apache.axis.client.Call.invoke(Call.java:1871)

      at org.apache.axis.client.Call.invoke(Call.java:1777)

      at org.apache.axis.client.Call.invoke(Call.java:1315)

      at kolley.test.axis.service.MkTestRpcSoapBindingStub.findT_Battery(MkTestRpcSoapBindingStub.java:161)

      at kolley.test.axis.client.RunAxis.findT_Battery(RunAxis.java:80)

      at kolley.test.axis.client.RunAxis.main(RunAxis.java:327)

org.xml.sax.SAXException: Deserializing parameter 'findT_BatteryReturn':  could not find deserializer for type {http:// test.martin }T_BatteryData

; nested exception is:

      org.xml.sax.SAXException: Deserializing parameter 'findT_BatteryReturn':  could not find deserializer for type {http:// test.martin }T_BatteryData

 

Any hints for solving the problem?

 

Thanks

 

 

Martin

 

Reply via email to