hi guys, thanks for answering.
the wsdl has no errors, so i checked the latest code distribution (apache-cxf-2.2.3-src) as you suggested and here's what i found:
the problem is with a list called "serviceList" that is being filled in WSDLToJavaContainer by the following code:
List<ServiceInfo> serviceList = (List<ServiceInfo>)context.get(ToolConstants.SERVICE_LIST);
if (serviceList == null) {
serviceList = new ArrayList<ServiceInfo>();
// Build the ServiceModel from the WSDLModel
if (version == WSDLConstants.WSDLVersion.WSDL11) {
@SuppressWarnings("unchecked")
AbstractWSDLBuilder<Definition> builder = (AbstractWSDLBuilder<Definition>)frontend
.getWSDLBuilder();
builder.setContext(context);
// yada-yada-yada... doing more stuff...
} else {
// TODO: wsdl2.0 support
}
}
so basically, support for wsdl 2.0 is not implemented
but looking at the bug repository of the CXF project you see stuff like:
https://issues.apache.org/jira/browse/CXF-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
which leads innocent people like me to believe that wsdl2.0 is supported...
anybody knows of a wsdl2java tool that supports wsdl2.0 AND lets you pass parameters to xjc?