Shinde, I will try and re-create this problem with the latest version of the code.
Rich Scheuerle
XML & Web Services Development
512-838-5115 (IBM TL 678-5115)
"Shinde, Uma"
<Uma.Shinde@divin To: <[EMAIL PROTECTED]>
e.com> cc:
Subject: Has anyone tried
maxOccurs="unbounded" in their WSDL..
04/26/2002 01:11
PM
Please respond to
axis-user
and got it to work? For the following lines in my schema definition,
<s:element name="CS">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="headlines" type
="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
What I get in the generated Stub using WSDL2Java is
call.setReturnType(new javax.xml.rpc.namespace.QName("
http://www.w3.org/2001/XMLSchema", "string[unbounded]"));
And obviously there is no deserializer for string[unbounded]. I changed
this to
call.setReturnType(org.apache.axis.Constants.SOAP_ARRAY);
call.setReturnClass(java.util.ArrayList.class);
But then I got an error about no deserializer for xsi:anyType because is
looks for a type mapping for headlines and defaults to anyType.
