Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.2
-
None
-
None
Description
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