I'm using CXF 2.0.3.
I have an interface with a method like:
List<ReviewData> getAllReviews(@WebParam(name="token") String
token);
The WSDL created for this method is:
<xs:element name="getAllReviews" type="tns:getAllReviews"/>
<xs:complexType name="getAllReviews">
<xs:sequence>
<xs:element minOccurs="0" name="token" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="getAllReviewsResponse"
type="tns:getAllReviewsResponse"/>
<xs:complexType name="getAllReviewsResponse">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="return"
type="xs:anyType"/>
</xs:sequence>
</xs:complexType>
and so the generated SOAP client returns List<Object>
Is there any way to get a return type of List<ReviewData> (the
ReviewData class generated by wsdl2java that is, not the original
ReviewData in the remote interface)
Thanks,
Tom
--
ATLASSIAN - http://www.atlassian.com
Our products help over 8,500 customers in more than 95 countries to
collaborate