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

Guillaume CERCEAU updated CXF-6628:
-----------------------------------
    Description: 
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 ?

  was:
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 ?


> 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