Details
Description
I have the following WSDL service definition:
... <wsdl:service name="SOAPService"> <wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding"> <soap:address location="http://localhost:8080" /> </wsdl:port> </wsdl:service> ...
During the class generation (using apache maven cxf plugin) I want to change the port getter method with this custom binding code fragment:
... <jaxws:bindings node="wsdl:definitions/wsdl:service[@name='SOAPService']/wsdl:port[@name='SoapPort']"> <jaxws:method name="getMyCustomPort" /> </jaxws:bindings> ...
But in the generated code the method name does not change, the default getSoapPort() remains.