You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Rupal Soni <ru...@yahoo.com> on 2007/06/19 20:46:23 UTC
Axis 1.2 Trying to pass serializable Java object in Axis Webservice
Hi,
I am trying to pass a serializable Java Object as input and also get another Serializable Java Object as output from my Axis 1.2 Webservice. I am getting an error
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: Deserializing parameter 'userVO': could not find deserializer for type {http://vo.ap.cvg.com}UsersVO
faultActor:
faultNode:
Please help me understand what do I need to specify in my server-config.wsdd for both these objects and what.
---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
RE: Axis 1.2 Trying to pass serializable Java object in Axis Webservice
Posted by Gagan Sinha <ga...@gmail.com>.
Rupal,
Put this in the service tag of your webservice in server-config.wsdd
<beanMapping qname="myNS:name" xmlns:myNS="urn:BeanService"
languageSpecificType="java:package.UsersVO"/>
And replace the "package" with the actual package for the UsersVO class
Let me know if it solves the problem
Regards
Gagan
_____
From: Rupal Soni [mailto:rupalpsoni@yahoo.com]
Sent: Tuesday, June 19, 2007 2:46 PM
To: axis-user@ws.apache.org
Subject: Axis 1.2 Trying to pass serializable Java object in Axis Webservice
Hi,
I am trying to pass a serializable Java Object as input and also get
another Serializable Java Object as output from my Axis 1.2 Webservice. I am
getting an error
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: Deserializing parameter 'userVO':
could not find deserializer for type {http://vo.ap.cvg.com}UsersVO
faultActor:
faultNode:
Please help me understand what do I need to specify in my server-config.wsdd
for both these objects and what.
_____
Food
<http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOAR
fcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=39654
5367> fight? Enjoy some healthy debate
in the Yahoo!
<http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOAR
fcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=39654
5367> Answers Food & Drink Q&A.