cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume CERCEAU (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-6628) cxf-codegen-plugin generate WebServiceClient Class with compilation errors
Date Wed, 07 Oct 2015 15:13:27 GMT
Guillaume CERCEAU created CXF-6628:
--------------------------------------

             Summary: 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


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)

Mime
View raw message