Hi,
How can one achieve WSDL generation for generic parameterized java types
in CXF.
For example , one of the method of my jax:ws Service Endpoint Interface is
as follows,
* public ResponseWrapper<PriceResponse> requestPriceQuote(@WebParam(name =
"request")RequestWrapper<PriceRequest> request );* where ResponseWrapper
and
RequestWrapper are generic parameterized types of the form ,
*public class **ResponseWrapper **<T> implements Serializable {*
*T payload; ....*
* }*
However , in the generated WSDL schema section I get ,
<xs:complexType name="*responseWrapper*">
<xs:sequence>
<xs:element minOccurs="0" name="payload" *type="xs:anyType"*/> --- > *How
do I make it , type=**tns:priceResponse*
</xs:sequence>
**
*<xs:element name="ServiceResponse" type="tns:** responseWrapper**"/>*
**
*<xs:element name="priceResponse" type="tns:priceResponse"/>*
*
*
I understand its basically a JAXB issue , but i want to know if there is
any way I can add some runtime customization to achieve the desired WSDL.
Also , I know there is a way to plugin custom WADL generators in the CXF
runtime.Is there any similar option for plugging in custom WSDL generators.
Regards,
Raj
**