• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to pass map through webservices

 
venkatesh Thimma
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As per our requirement we need to pass a map<Object Object> through web service Please any one help me on this.
Already we tried this and we are getting the object as ----[#document: null]. after passing through web service please help me on this.

 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's an article explainign why you should not even try do that: http://www.ibm.com/developerworks/webservices/library/ws-tip-coding/index.html

Use data tyes defined by XML Schema, and you'll be much happier :-) That's what JAXB (which is used for handling data types for JAX-WS services) is all about.
 
venkatesh Thimma
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you very much
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!