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
posted 7 years ago
Ideally you should not use Collections in web services. Restrict the complex types to primitives, String and/or array of these.