axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <stev...@iseran.com>
Subject Re: could not find deserializer for type
Date Wed, 31 Mar 2004 16:08:06 GMT
Zhao Sharon-CSC002 wrote:
> I searched the axis-user mailing list and post the questions 2 times without any response.
> My question is why the WSDL2Java does not generate the proper interfaces? We are using
the client stub.

what classes does it create? There should be a client-config.wsdd that 
declares what the bindings are. you need to include that in your client 
program.

If that is the case and it doesnt work, file a defect with the WDSL 
included.

> 
> Sharon
> 
> -----Original Message-----
> From: Steve Loughran [mailto:steve_l@iseran.com] 
> Sent: Wednesday, March 31, 2004 6:20 AM
> To: axis-dev@ws.apache.org
> Subject: Re: could not find deserializer for type
> 
> 
> Zhao Sharon-CSC002 wrote:
> 
>>All,
>>  we got the following error.
> 
> 
> yes you did
> 
> 
>>Is this Axis defect?
> 
> 
> no, its the kind of thing you might want to discuss on the user list 
> before panicing
> 
> 
>>How to solve this?
> 
> 
> Look at custom serialisation in the user guide.
> 
> 
>>Thanks,
>>
>>Sharon
>>
>>Exception:
>>org.xml.sax.SAXException: Deserializing parameter 'WSNPatchDownloadOutput':  could
not find deserializer for type {http://localhost/MotWSN/MC000046/WSNPatchDownload}__WSNPatchDownloadOutput
>>        at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:302)
>>        at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:963)
>>        at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)
>>        at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.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)
>>        at org.apache.axis.client.Call.invoke(Call.java:2171)
>>        at org.apache.axis.client.Call.invoke(Call.java:1691)
>>        at com.mot.corp.gish8003.MotWSN_MC000046BindingStub.WSNPatchDownload(MotWSN_MC000046BindingStub.java:143)
>>        at 
>>WSNPatchDownloadTestClient.main(WSNPatchDownloadTestClient.java:36)
>>Exception in thread "main" AxisFault
>> faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>> faultSubcode: 
>> faultString: org.xml.sax.SAXException: Deserializing parameter &apos;WSNPatchDownloadOutput&apos;:
 could not find deserializer for type {http://localhost/MotWSN/MC000046/WSNPatchDownload}__WSNPatchDownloadOutput
>> faultActor: 
>> faultNode: 
>> faultDetail: 
>>        {http://xml.apache.org/axis/}stackTrace: org.xml.sax.SAXException: Deserializing
parameter 'WSNPatchDownloadOutput':  could not find deserializer for type {http://localhost/MotWSN/MC000046/WSNPatchDownload}__WSNPatchDownloadOutput
>>        at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:302)
>>        at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:963)
>>        at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)


Mime
View raw message