Tuesday

Parsing wsdl error: soapenc:Array' to a(n) 'type definition

BUG:   While I was parsing wsdl file by using wsimport command (JAX-WS), I got this error: soapenc:Array' to a(n) 'type definition

FIX:   soapenc:Array is 'RPC-Encoding' web service style. Apache Axis 1 supports RPC encoded so parse the wsdl by Apache Axis 1.

You can use Soap-UI for parsing:
     Tools >> Axis1 Artifacts >> (write wsdl and output directory) >> Generate

No comments:

Post a Comment