Forums Register Login
Can webservices support vectors of complex data types .. Like custom bean
I tried creating webservices in RAD6.0 and I am having problems trying to use Vectors of a bean .
Is vectors of complex data type supported with WebSphere.
If any one has any information please post some link on how complex
data types can be supported . ?

Unless you're willing to serialize it in binary form, you'll need to map your collection to an array. This article should help you get going.
Thanks Dittmer great article .
Exactly what I was trying to do.
One more question. Could I still encapsulate an Vector or ArrayList as my instance variable like this..

public class DEscription {
ArrayList description = null;

public void setDescriptionList(Desc[] desc) {
description = new ArrayList();

public Desc[] getDescriptionList(){

return Desc[] description.toArray();

I see no reason why not, because it never gets transferred over the wire, so you are free to implement as you choose.
Why is the word "abbreviation" so long? And this ad is so short?
Rocket Oven Kickstarter - from the trailboss

This thread has been viewed 714 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 18, 2018 20:04:58.