Sandor Racz created CXF-5783:
--------------------------------
Summary: Port getter method not renamed in the generated Service
class
Key: CXF-5783
URL: https://issues.apache.org/jira/browse/CXF-5783
Project: CXF
Issue Type: Bug
Components: Tooling
Affects Versions: 2.6.14, 2.7.11
Reporter: Sandor Racz
I have the following WSDL service definition:
{code:xml}
...
<wsdl:service name="SOAPService">
<wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding">
<soap:address location="http://localhost:8080" />
</wsdl:port>
</wsdl:service>
...
{code}
I want to change the port getter method with this custom binding code fragment:
{code:xml}
...
<jaxws:bindings
node="wsdl:definitions/wsdl:service[@name='SOAPService']/wsdl:port[@name='SoapPort']">
<jaxws:method name="getMyCustomPort" />
</jaxws:bindings>
...
{code}
But in the generated code the method name does not change, the default
{{getSoapPort()}} remains.
--
This message was sent by Atlassian JIRA
(v6.2#6252)