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.
May be this would help with CXF. Alteast it worked for me. I edited the WSDL file and removed all references of SOAP-ENC and created type ArrayOfString in below way
ArrayOfString