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.

Reply via email to