axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ebert, Chris" <chris.eb...@hp.com>
Subject RE: could not find deserializer
Date Fri, 16 Sep 2005 01:01:42 GMT

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:palmadias@yahoo.com.br] 
Sent: Thursday, September 15, 2005 11:26
To: axis-user@ws.apache.org
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: palmadias@yahoo.com.br
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/

Mime
View raw message