axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bo Hu" <bo....@mail.dcu.ie>
Subject BeanDeserializer exception.
Date Wed, 06 Jul 2005 09:20:09 GMT
Hello, 
I am developing a axis web service based on a .wsdl file.
I used WSDL2Java generate both server and client side code, and then, modified
implementation the add the actual service. after that, used deploy.wsdd generated
to deploy the service on a tomcat server. then, I used a client to test my
server, on the server side, I can see the soap message been sent, but  on
the client side, i got this exception: 

Exception thrown: 
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode: 
 faultString: 
 faultActor: 
 faultNode: 
 faultDetail: 
	{http://xml.apache.org/axis/}exceptionName: localhost.axis.services.RePower.MessageBaseType
	{http://xml.apache.org/axis/}stackTrace: AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode: 
 faultString: 
 faultActor: 
 faultNode: 
 faultDetail: 
	{http://xml.apache.org/axis/}exceptionName: localhost.axis.services.RePower.MessageBaseType


	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at org.apache.axis.encoding.ser.BeanDeserializer.&lt;init&gt;(BeanDeserializer.java:125)
	at org.apache.axis.encoding.ser.BeanDeserializer.&lt;init&gt;(BeanDeserializer.java:111)
	at localhost.axis.services.RePower.MessageBaseType.getDeserializer(MessageBaseType.java:124)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:176)
	at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:117)
	at org.apache.axis.encoding.DeserializationContextImpl.getDeserializer(DeserializationContextImpl.java:466)
	at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:289)
	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 localhost.axis.services.RePower.RePowerBindingStub.topUp(RePowerBindingStub.java:265)
	at localhost.axis.services.RePower.Tester.main(Tester.java:96)



	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:125)
	at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:111)
	at localhost.axis.services.RePower.MessageBaseType.getDeserializer(MessageBaseType.java:124)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:176)
	at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:117)
	at org.apache.axis.encoding.DeserializationContextImpl.getDeserializer(DeserializationContextImpl.java:466)
	at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:289)
	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)Exception cause: null
end

	at localhost.axis.services.RePower.RePowerBindingStub.topUp(RePowerBindingStub.java:265)
	at localhost.axis.services.RePower.Tester.main(Tester.java:96)



somebody please help me since I am working on it for weeks, and can not find
the cause.

thanks a lot.



Bo.


BH 



Mime
View raw message