I\'m using CXF 2.1 to generate java code from a wsdl, but I\'m getting the following error:
WSDLToJava Error: Rpc/encoded wsdls are not supported in JAXWS 2.
just extract,and Execute WSDL2Java? using the following command (replacing the URL, of course):
java -cp axis.jar;commons-logging-1.0.4.jar;commons-discovery-0.2.jar;jaxrpc.jar;saaj.jar;wsdl4j-1.5.1.jar org.apache.axis.wsdl.WSDL2Java http://someURL?WSDL