Is This Content Helpful?
We're glad to know this article was helpful.
When running the wsdl2java command from the Glue 5.x toolkit, an error occurs that begins with the following lines:
at java.lang.reflect.Array.newArray(Native Method)
Repeatedly running the WSDL2JAVA command for more than one Web service and using the same output directory may cause this error. When more than one Web service uses the same object type Glue cannot resolve the common objects unless the previous .JAVA files have been compiled.
Solve this problem by either compiling the .JAVA files to get .CLASS files or move the .MAP files to a different location.