You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Guillaume CERCEAU (JIRA)" <ji...@apache.org> on 2015/10/07 17:13:27 UTC
[jira] [Created] (CXF-6628) cxf-codegen-plugin generate
WebServiceClient Class with compilation errors
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)