web services - cxf-java2ws-plugin generates an input parameter in wsdl for no input parameter method in java -
i using cxf-java2ws-plugin version 3.1.12. following method, takes no input params,
@webmethod public @webresult(name = "owner") collection<owner> getallowners();
results in following wsdl part: ....... .......
<wsdl:operation name="getallowners"> <wsdl:input name="getallowners" message="tns:getallowners"> </wsdl:input> <wsdl:output name="getallownersresponse" message="tns:getallownersresponse"> </wsdl:output> </wsdl:operation>
.......
<wsdl:message name="getallowners"> <wsdl:part name="parameters" element="tns:getallowners"> </wsdl:part> </wsdl:message>
.......
what can done in order generate wsdl correctly (without input params)?
Comments
Post a Comment