| Author: suzanne haig 02 May 2004 | Member Level: Bronze Points : 0 |
I have a question that perhaps you can answer. I have a class with a number of different types of properties.
I have an arraylist that I add these class objects to.
How do you reference these elements in the array list using the index.
Suppose there are several properties in each class type, name.
how do you rerference alist(0).type?
|
| Author: Sandip 23 Jun 2004 | Member Level: Bronze Points : 0 |
Hi! I am trying to pass an arry of objects having a member as another array of objects to/from web service. But, I have got serialization error.
Does anyone has any idea about how to solve this problem?
|
| Author: Sandip 23 Jun 2004 | Member Level: Bronze Points : 0 |
Not a problem.
I found the solution. The only thing I was supposed to do was to create and test it in a simple test application and a web service instead of testing it with hundreds of line of code for several operations!!!!!!
But, the strange thing I learned from the test result was that you don't need to do any serialization when you send an array of objects that contains another array of objects in itself as an parameter to a web service operation. But, on the other hand, if you want to return the similar kind of thing, you have to serialize it!!!
Isn't it strange??!!
Correct me if I am wrong. Make my concepts clear if you have any idea for that.
|