Hello Team,
I'm doing dataminer integration to pull some information for my client. I'm unable to parse WSDL file because it has some RPC encoding format. getting error "[ERROR] undefined simple or complex type 'soapenc:Array'"
I tried to find out root cause I found soapenc:Array indicates a non-standard style of web service encoding called "RPC Encoding". This is a very old style that used to be popular on Microsoft platforms; it's obsolete (i.e. it's not part of the WS-I spec) and not supported by modern tools like JAX-WS
SWDL Schema having this attribute: -
Error: -
What you say in your question is not correct. The "soapenc:Array" is part of the SOAP 1.1 standard (see here). It's defined in our WSDL via the namespace with schema "http://schemas.xmlsoap.org/soap/encoding/".
You get this error because your WSDL validator doesn't load this external schema, resulting that it doesn't know the types defined in that namespace. This could happen for several reasons:
- Your WSDL validator doesn't support the SOAP 1.1 standard
- Your WSDL validator doesn't have Internet access or can't download "http://schemas.xmlsoap.org/soap/encoding/"
- Your WSDL validator contains a bug, for example in NetBeans: https://bz.apache.org/netbeans/show_bug.cgi?id=116987