Looks to me like your namespaces are not correct. The server is returning an element something like <ns:UserProfile xmlns:ns="http://securiry.b2paper.pakprint.com"> </ns:UserProfile> yes? I think your declaration puts UserProfile in http://xml.apache.org/axis/wsdd/. Not sure, but it looks like a namespace issue from here.
Chris -----Original Message----- From: Felipe Palma Dias [mailto:[EMAIL PROTECTED] Sent: Thursday, September 15, 2005 11:26 To: [email protected] Subject: could not find deserializer I created a Web Services using Axis. I used Java2WSDL to generate the WSDL and WSDL2Java to generate the skeleton e stub class. See attachment. But when I run the follow erro is showed: org.xml.sax.SAXException: Deserializing parameter 'getUserProfileReturn': could not find deserializer for type {http://secutiry.b2paper.pakprint.com}UserProfile 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 org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:186) at $Proxy0.getUserProfile(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java) at org.springframework.remoting.rmi.RmiClientInterceptorUtils.doInvoke(RmiClientInterceptorUtils.java:98) at org.springframework.remoting.rmi.RmiClientInterceptorUtils.invoke(RmiClientInterceptorUtils.java:71) at org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor.invoke(JaxRpcPortClientInterceptor.java:442) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) at $Proxy1.getUserProfile(Unknown Source) at com.pakprint.b2paper.gui.util.Util.getThinletInputStream(Util.java:44) at com.pakprint.b2paper.gui.impl.MainPanelThinlet.showMenuBar(MainPanelThinlet.java:119) at com.pakprint.b2paper.gui.impl.MainPanelThinlet.show(MainPanelThinlet.java:95) at com.pakprint.b2paper.gui.event.AuthenticatorEvent.afterRun(AuthenticatorEvent.java:101) at com.pakprint.b2paper.gui.event.BaseEventThread.run(BaseEventThread.java:71) at java.lang.Thread.run(Thread.java:534) java.lang.RuntimeException: org.xml.sax.SAXException: Deserializing parameter 'getUserProfileReturn': could not find deserializer for type {http://secutiry.b2paper.pakprint.com}UserProfile at com.pakprint.b2paper.gui.impl.MainPanelThinlet.showMenuBar(MainPanelThinlet.java:124) at com.pakprint.b2paper.gui.impl.MainPanelThinlet.show(MainPanelThinlet.java:95) at com.pakprint.b2paper.gui.event.AuthenticatorEvent.afterRun(AuthenticatorEvent.java:101) at com.pakprint.b2paper.gui.event.BaseEventThread.run(BaseEventThread.java:71) at java.lang.Thread.run(Thread.java:534) Caused by: org.xml.sax.SAXException: Deserializing parameter 'getUserProfileReturn': could not find deserializer for type {http://secutiry.b2paper.pakprint.com}UserProfile 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 org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:186) at $Proxy0.getUserProfile(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java) at org.springframework.remoting.rmi.RmiClientInterceptorUtils.doInvoke(RmiClientInterceptorUtils.java:98) at org.springframework.remoting.rmi.RmiClientInterceptorUtils.invoke(RmiClientInterceptorUtils.java:71) at org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor.invoke(JaxRpcPortClientInterceptor.java:442) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) at $Proxy1.getUserProfile(Unknown Source) at com.pakprint.b2paper.gui.util.Util.getThinletInputStream(Util.java:44) at com.pakprint.b2paper.gui.impl.MainPanelThinlet.showMenuBar(MainPanelThinlet.java:119) ... 4 more Felipe F. Palma Dias - São Paulo/SP http://www.palmadias.com.br MSN: [EMAIL PROTECTED] Yahoo: palmadias Mobile: +55 11 99157578 _______________________________________________________ Novo Yahoo! Messenger com voz: ligações, Yahoo! Avatars, novos emoticons e muito mais. Instale agora! www.yahoo.com.br/messenger/
