There are two things here:
1. The WSDL is not WS-I compliant because it violates the following requirement:
R2105 All xsd:schema elements contained in a wsdl:types element of a
DESCRIPTION MUST have a targetNamespace attribute with a valid and
non-null value, UNLESS the xsd:schema element has xsd
What is your Axis2 version ? Try to use Axis2 1.6.1 version I didn't get
mentioned exception for given WSDL file using Axis2 1.6.1.
Thanks !
On Thu, Feb 9, 2012 at 11:52 AM, luckyjun85 wrote:
>
> Hi, I get this error when i try to run wsdl2java
>
>
> java.io.IOException: Element Service is ref