Hi,
You could always convert your list to an array, send it as an array, and
convert it back to a list... this is probably not the answer you were
looking for, but I don't know what else to suggest.
Ioan
Ketan C Maheshwari wrote:
Ian
Thanks for the help. However, my methods returns java.util.List type
object. However, it turns out to be an interface.
I am using GDT plugin with eclipse and while creating stubs it gives
me an error while trying to create an instance of java.util.List to
set the some property.
Since interfaces are not instantiable, I do not know how do i proceed.
Any alternative?
Regards
Ketan.
Ioan Raicu wrote:
Hi,
Here is a simple array definition in WSDL of simple datatype string;
you can replace the xsd:string with say tns:CustomObject, where you
have defined CustomObject as well in the WSDL. I hope this helps!
<xsd:element name="StringArray">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="array" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
Ioan
Ketan C Maheshwari wrote:
Hi
Does anyone know of any service in gt4 that returns a List type object?
Or has anyone implemented such a service?
I am trying to do one but with no success.
Kindly share your experience if you know about them.
Regards
Ketan.
--
============================================
Ioan Raicu
Ph.D. Student
============================================
Distributed Systems Laboratory
Computer Science Department
University of Chicago
1100 E. 58th Street, Ryerson Hall
Chicago, IL 60637
============================================
Email: [EMAIL PROTECTED]
Web: http://www.cs.uchicago.edu/~iraicu
http://dsl.cs.uchicago.edu/
============================================
============================================