This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web Services with Complex Objects (Urgent !!)

 
Suman Mazumder
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

My last post was on a problem using IBM-RAD (Service) and AXIS2 (Client). That is one of the trial scenarios I'm working on nowadays. Hope, I'll get some useful reply soon.
Now, I need a suggestion about the application I'm working upon. It is as follows:

(i) The application (i.e. Service Class) takes some primitive,String and/or some bean object as input
(ii) It returns a bean object [or an array (can use collection class also if possible) of bean objects].
(iii) The bean properties are primitive,String , other bean objects, and/or some collection object(Vector / ArrayList etc.) i.e. it should handle complex objects.

(iv) The Service should run on Websphere and Client on Tomcat.



I'm now trying (by building test applications) a combination of IBM-RAD (Service) and AXIS2 (Client), but facing problems in handling array of beans and/or collection classes either on Service or on the Client side.

So, I need some suggestions on whether I'm going the right way, or need to change my approach (or technology). Any suggestion would be appreciated.

Please reply ASAP, it is urgent.

Thanks in advance,
Suman
 
Vinod K Singh
Ranch Hand
Posts: 198
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ideally you should not use Collections in web services. Restrict the complex types to primitives, String and/or array of these.

Thanks,
Vinod
http://blog.vinodsingh.com/
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic