This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Returning map / list with axis ws  RSS feed

 
jaki jane
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have an axis WS client calling a remote ejb3 web service as below:


Thought it throws no error, the returned Map / List never has any contents in them. Also, if instead of setReturnClass I try to use setReturnType(org.apache.axis.Constants.XSD_ANY) it gives me the below error:

could not find deserializer for type {http://www.w3.org/2001/XMLSchema}any
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked at the SOAP that gets transmitted? You can use a tool like SOAPUI. In general, I would avoid using Java classes as return types that have no type mapping using XML Schema (like any kind of Map). You may have to write a custom serializer/deserializer for that.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!