Hi all,
I've tried to generate stubs using *xmlbeans *data binding. I've got
the following error.
Caused by: org.apache.xmlbeans.XmlException:
http://schemas.xmlsoap.org/soap/encoding/:48:1: error: sch-props-correct.2:
Duplicate global type:
Array@http://schemas.xmlsoap.org/soap/encoding/(Original global type
found in file: null)
After keen exploration, I came to know that it was a bug and fixed during
the release of Axis2 1.4 only.* I'v tried 1.5.4, 1.4, 1.3 versions to
generate stubs, but every time, the same exception. *
Note: I've found following *imports *in my WSDL which might be resulting in
the exception.
<xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/"
schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>
<xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" schemaLocation="
http://schemas.xmlsoap.org/wsdl/"/>
How do I solve?