Bo, I'm doing the same thing, but can't even access my web service at all. Didn't you also have to modify the Locator, Skeleton, and Stub classes to change the address/url for your web service? If so, what did you change them to? I'm having trouble trying to figure out what the urls should be.
Jan -----Original Message----- From: Bo Hu [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 06, 2005 5:20 AM To: [email protected] Subject: BeanDeserializer exception. 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.<init>(BeanDeseriali zer.java:125) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeseriali zer.java:111) at localhost.axis.services.RePower.MessageBaseType.getDeserializer(MessageB aseType.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(Base DeserializerFactory.java:176) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(B aseDeserializerFactory.java:117) at org.apache.axis.encoding.DeserializationContextImpl.getDeserializer(Dese rializationContextImpl.java:466) at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:289) at org.apache.axis.encoding.DeserializationContextImpl.startElement(Deseria lizationContextImpl.java:963) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java: 198) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.j ava: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(RePowerBindingS tub.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.ja va:125) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.ja va:111) at localhost.axis.services.RePower.MessageBaseType.getDeserializer(MessageB aseType.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(Base DeserializerFactory.java:176) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(B aseDeserializerFactory.java:117) at org.apache.axis.encoding.DeserializationContextImpl.getDeserializer(Dese rializationContextImpl.java:466) at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:289) at org.apache.axis.encoding.DeserializationContextImpl.startElement(Deseria lizationContextImpl.java:963) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java: 198) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.j ava: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(RePowerBindingS tub.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
