Thanks for the reply. No, it doesn't work with either 1.6 or 1.4. I'm getting the same exception again.
On Tue, May 31, 2011 at 3:16 PM, Sagara Gunathunga < sagara.gunathu...@gmail.com> wrote: > On Tue, May 31, 2011 at 3:09 PM, fire fox <fyr3...@gmail.com> wrote: > > 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 > > Did you able to get successful results with axis2 1.4 release ? > > Can you download latest 1.6.0 release from here [1] and try again ? > > [1] - http://people.apache.org/~sagara/dist/axis2/1.6.0/ > > Thanks ! > > > > 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? > > > > > > > > > > > > -- > Sagara Gunathunga > > Blog - http://ssagara.blogspot.com > Web - http://people.apache.org/~sagara/ > LinkedIn - http://www.linkedin.com/in/ssagara > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org > For additional commands, e-mail: java-dev-h...@axis.apache.org > >