CXF WSDLToJava Not Generating Void Return Type
Issue
- org.apache.cxf.tools.wsdlto.WSDLToJava is generating one of my methods as returning void instead of the correct type
- WSDLToJava has generated a method with the response values as parameters with Holder objects but I would prefer a generated response type.
- For example:
public void sampleMethiod(java.lang.String parameterId, javax.xml.ws.Holder<java.lang.Boolean> firstOutput, javax.xml.ws.Holder<java.lang.Boolean> secondOutput)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 6
- CXF generating Java client code from WSDL with WSDLToJava
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.