Hello All,
I use mtom_xop.wsdl and wsdl2java to generate code after importing generated
code in Eclipse I get one compilation error related to
getTestMtomPort(WebServiceFeature... features) to following method in
generated TestMtomService class:
/**
*
* @param features
* A list of {...@link javax.xml.ws.WebServiceFeature} to configure on
the proxy. Supported features not in the <code>features</code> parameter
will have their default values.
* @return
* returns TestMtomPortType
*/
@WebEndpoint(name = "TestMtomPort")
public TestMtomPortType getTestMtomPort(WebServiceFeature... features) {
return super.getPort(TestMtomPort, TestMtomPortType.class,
features);
}
The method getPort(QName, Class<T>) in the type Service is not applicable
for the arguments (QName, Class<TestMtomPortType>, WebServiceFeature[])
cxf-mtom-demo/src/main/java/org/apache/cxf/mime TestMtomService.java line 77
I am wondering if this is well know issue (maybe already solved :) ) - of
course I tried commenting out this method and everything works fine for me
but I believe there is better solution then this simply workaround...
I tried other WSDL files and get the same error as well.
I am using CXF 2.1.1
Regards,
Maciej
--
View this message in context:
http://www.nabble.com/wsdl2java-generation-error-tp22077887p22077887.html
Sent from the cxf-user mailing list archive at Nabble.com.