aspose file tools
The moose likes Web Services and the fly likes Returning map / list with axis ws Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Returning map / list with axis ws" Watch "Returning map / list with axis ws" New topic
Author

Returning map / list with axis ws

jaki jane
Greenhorn

Joined: Aug 04, 2008
Posts: 11
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
Marshal

Joined: Mar 22, 2005
Posts: 35236
    
    7
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.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Returning map / list with axis ws
 
Similar Threads
How to call StoredProcedure with mixed input data types?
storing hashmap in context
Would a HashSet be a way to solve this problem?
Exception in parsing returning data
non-static reference in singleton