cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-5783) Port getter method not renamed in the generated Service class
Date Wed, 04 Jun 2014 18:53:03 GMT

     [ https://issues.apache.org/jira/browse/CXF-5783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp resolved CXF-5783.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.1
                   2.7.12
                   2.6.15
         Assignee: Daniel Kulp

> 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.7.11, 2.6.14
>            Reporter: Sandor Racz
>            Assignee: Daniel Kulp
>              Labels: jaxws, wsdl2java
>             Fix For: 2.6.15, 2.7.12, 3.0.1
>
>         Attachments: test.wsdl, test_binding.xml
>
>
> 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}
> During the class generation (using apache maven cxf plugin) 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)

Mime
View raw message