[ 
https://issues.apache.org/jira/browse/CXF-6628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14949014#comment-14949014
 ] 

Daniel Kulp commented on CXF-6628:
----------------------------------

CXF 3.1.x does NOT provide the jaxws_2.1_spec-1.0.jar.   It uses the version of 
the JAX-WS API's that are built into the JDK.   Since 3.1.x requires Java7, 
that would be a JAX-WS 2.2 version.

> cxf-codegen-plugin generate WebServiceClient Class with compilation errors
> --------------------------------------------------------------------------
>
>                 Key: CXF-6628
>                 URL: https://issues.apache.org/jira/browse/CXF-6628
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 3.1.3
>            Reporter: Guillaume CERCEAU
>
> Dependency used : 
> cxf-rt-frontend-jaxws - version : 3.1.3
> cxf-codegen-plugin - version 3.1.3
> The cxf-codegen-plugin generate a WebServiceClient Class with the following 
> constructors :
> @WebServiceClient(name = "FoobarService", 
>                   wsdlLocation = "classpath:foobar.wsdl",
>                   targetNamespace = "http://my.url.com/foobar";) 
> public class DpaeService extends Service {
> public FoobarService(URL wsdlLocation) {
>     super(wsdlLocation, SERVICE);
> }
> public FoobarService(URL wsdlLocation, QName serviceName) {
>     super(wsdlLocation, serviceName);
> }
> public FoobarService() {
>     super(WSDL_LOCATION, SERVICE);
> }
> public FoobarService(WebServiceFeature ... features) {
>     //constructor is undefined
>     super(WSDL_LOCATION, SERVICE, features);
> }
> public FoobarService(URL wsdlLocation, WebServiceFeature ... features){
>     //constructor is undefined
>     super(wsdlLocation, SERVICE, features);
> }
> public FoobarService(URL wsdlLocation, QName serviceName, WebServiceFeature 
> ... features) {
>      //constructor is undefined
>      super(wsdlLocation, serviceName, features);
> }  
> Eclipse displays compilation errors on the last three constructors.
> The constructor Service(URL, QName, WebServiceFeature[]) is undefined
> FoobarService extends javax.xml.ws.Service from 
> geronimo-jaxws_2.1_spec-1.0.jar which is provided by cxf.
> I'm new to the SOAP Webservices development but it looks like the cxf plugin 
> goes wrong. Am I doing something wrong ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to