'IWAB0399E Error in generating Java from WSDL: java.io.IOException: Type {http://www.w3.org/2001/XMLSchema}array is referenced but not defined
I am getting IWAB0399E Error in generating Java from WSDL: java.io.IOException: Type {http://www.w3.org/2001/XMLSchema}array is referenced but not defined' while consuming web service using eclipse Juno.
Tools used
- Eclipse 4.2
- Jboss 4.2
- Axis 1
Please advice.
Regards, pise
Solution 1:[1]
I have seen very similar problem quite a few times, also i can see you are using Axis.v1 And this could cause the problem. Try using Axis.v2 when doing WSDL2Java. PS. Look also at JAX-WS import tool, its quite fast efficient and easy to use and implement ( also regarding dynamic client ) You can see JAX-WS HERE
Solution 2:[2]
As a workaround, you may remove the part of the wsdl, responsible for schema definition. This may solve your problem. Remove this part below:
<types>
[...]
</types>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | |
Solution 2 |