You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Alexey Zavizionov <al...@gmail.com> on 2008/11/11 15:48:46 UTC
CXF codegen: incorrect portName annotation.
Hello, list!
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.
=== 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 {
==================================================================
Does it a bug?
Regards,
Alexey.
Re: CXF codegen: incorrect portName annotation.
Posted by Daniel Kulp <dk...@apache.org>.
That looks like a bug. Can you log a JIRA and attach the wsdl?
https://issues.apache.org/jira/browse/CXF
Dan
On Tuesday 11 November 2008 9:48:46 am Alexey Zavizionov wrote:
> Hello, list!
>
> 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.
>
> === 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 {
> ==================================================================
>
> Does it a bug?
>
> Regards,
> Alexey.
--
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog