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

Daniel Kulp resolved CXF-1908.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.3

> CXF codegen: incorrect portName annotation.
> -------------------------------------------
>
>                 Key: CXF-1908
>                 URL: https://issues.apache.org/jira/browse/CXF-1908
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.2
>            Reporter: Alexey Zavizionov
>            Assignee: Daniel Kulp
>             Fix For: 2.1.3
>
>
> I'm generating sources with CXF maven plugin
>        <artifactId>cxf-codegen-plugin</artifactId>
>        <version>2.1.2</version>
> I have just noticed that I get incorrect portName annotation.
> The full service description and other relative files are available at 
> http://docs.oasis-open.org/wsrp/v2/
> (http://docs.oasis-open.org/wsrp/v2/wsrp-service.wsdl)
> === service.wsdl =================================
> ...
>  <wsdl:service name="WSRPService">
> ...
>    <wsdl:port binding="v2bind:WSRP_v2_ServiceDescription_Binding_SOAP"
> name="WSRP_v2_ServiceDescription_Service">
>      <soap:address location="http://my.service:8082/WSRPService"/>
>    </wsdl:port>
>    <wsdl:port binding="v2bind:WSRP_v2_Registration_Binding_SOAP"
> name="WSRP_v2_Registration_Service">
>      <soap:address location="http://my.service:8082/WSRPService"/>
>    </wsdl:port>
> ...
> =============================================
> Generated sources:
> ===WSRPV2RegistrationPortTypeImpl=================================
> @javax.jws.WebService(name = "WSRPV2RegistrationPortType",
>                      serviceName = "WSRPService",
>                      portName =
> "WSRP_v2_ServiceDescription_Service",.....) <<--- HERE is an error
> public class WSRPV2RegistrationPortTypeImpl implements
> WSRPV2RegistrationPortType {
> =============================================================
> ===WSRPV2ServiceDescriptionPortTypeImpl=================================
> @javax.jws.WebService(name = "WSRPV2ServiceDescriptionPortType",
>                      serviceName = "WSRPService",
>                      portName = "WSRP_v2_ServiceDescription_Service",.....)
> public class WSRPV2ServiceDescriptionPortTypeImpl implements
> WSRPV2ServiceDescriptionPortType {
> ==================================================================
> PS: related mail thread at 
> http://www.nabble.com/CXF-codegen%3A-incorrect-portName-annotation.-to20441105.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to