java: Rpc/encoded wsdls are not supported in JAXWS 2.0

前端 未结 6 1875
南方客
南方客 2020-11-28 03:31

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.         


        
6条回答
  •  情话喂你
    2020-11-28 04:01

    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

    
        
          
        
    
    

提交回复
热议问题