Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

weblogic soap client problem with vector of vectors

 
William Miller
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using weblogic 8.1 with a soap service deployed as a stateless
session bean

the bean has a soap service method that returns a vector which has
vectors as its elements.

When the service returns the vector to the client, The elements of the vector are
not vectors anymore but instead type object[] (object arrays).

same thing for ArrayList
has anyone seen this behavior as well ?

I am worried when the code is deployed to a different webservice container
that the Vector returned may instaed then have vectors again
Thanks
Bill
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For your web services to interropable it is suggested not to use language specific collections and so better go with arrays that are widely support across heterogeneous systems.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic