Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Not A Problem
-
2.3.2
-
None
-
Windows XP, Oracle jdk160_18
-
Novice
Description
wsdl2java generated Service class has overloaded constructors with WebServiceFeature ... features parameter which is passed on to super constructor. However javax.xml.ws.Service does not have required overloaded constructor causing compilation errors.
Extract from wsdl2java output
{{
Loading FrontEnd jaxws ...
Loading DataBinding jaxb ...
wsdl2java -fe jaxws -db jaxb -wv 1.1 -verbose -client -autoNameResolution -mark-generated -sn MyXyzService -dC:\helios\my_workspace\proj-ws-gen\src\main\java -classdir C:\helios\my_workspace\proj-ws-gen\target\classes http://dev01.xyz.org:10003/Services/MyXyzService/V2?WSDL
wsdl2java - Apache CXF 2.3.2
}}
Extract from generated service class showing overloaded constructors causing compile error
{{
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2011-01-21T15:44:35.467-05:00", comments = "Apache CXF 2.3.2")
public class MyXyzService extends Service {
...
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2011-01-21T15:44:35.467-05:00")
public MyXyzService(WebServiceFeature ... features)
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2011-01-21T15:44:35.467-05:00")
public MyXyzService(URL wsdlLocation, WebServiceFeature ... features)
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2011-01-21T15:44:35.467-05:00")
public MyXyzService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features)
...
}
}}