[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rampart-dev
Subject:    Re: Duplicate global type exception again in Axis2 1.5.4
From:       fire fox <fyr3fox () gmail ! com>
Date:       2011-05-31 9:59:48
Message-ID: BANLkTikqPz2DzX0eFszyp=ED0PVKNwBh4w () mail ! gmail ! com
[Download RAW message or body]

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.gunathunga@gmail.com> wrote:

> On Tue, May 31, 2011 at 3:09 PM, fire fox <fyr3fox@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-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

[Attachment #3 (text/html)]

Thanks for the reply. <div><br></div><div>No, it doesn&#39;t work with either 1.6 or \
1.4. I&#39;m getting the same exception again.<br><br><div class="gmail_quote">On \
Tue, May 31, 2011 at 3:16 PM, Sagara Gunathunga <span dir="ltr">&lt;<a \
href="mailto:sagara.gunathunga@gmail.com">sagara.gunathunga@gmail.com</a>&gt;</span> \
wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex;"><div class="im">On Tue, May 31, 2011 at 3:09 PM, fire fox \
&lt;<a href="mailto:fyr3fox@gmail.com">fyr3fox@gmail.com</a>&gt; wrote:<br>


&gt; Hi all,<br>
&gt;         I&#39;ve tried to generate stubs using xmlbeans data binding. I&#39;ve \
got<br> &gt; the following error.<br>
&gt; Caused by: org.apache.xmlbeans.XmlException:<br>
&gt; <a href="http://schemas.xmlsoap.org/soap/encoding/:48:1" \
target="_blank">http://schemas.xmlsoap.org/soap/encoding/:48:1</a>: error: \
sch-props-correct.2:<br> &gt; Duplicate global type: Array@<a \
href="http://schemas.xmlsoap.org/soap/encoding/" \
target="_blank">http://schemas.xmlsoap.org/soap/encoding/</a><br> &gt; (Original \
global type found in file: null)<br> &gt;  After keen exploration, I came to know \
that it was a bug and fixed during<br> &gt; the release of Axis2 1.4 only. I&#39;v \
tried 1.5.4, 1.4, 1.3 versions to<br> <br>
</div>Did you able to get successful results with axis2 1.4 release ?<br>
<br>
Can you download latest 1.6.0 release from here [1] and try again ?<br>
<br>
[1] - <a href="http://people.apache.org/~sagara/dist/axis2/1.6.0/" \
target="_blank">http://people.apache.org/~sagara/dist/axis2/1.6.0/</a><br> <br>
Thanks !<br>
<div class="im"><br>
<br>
&gt; generate stubs, but every time, the same exception.<br>
&gt; Note: I&#39;ve found following imports in my WSDL which might be resulting \
in<br> &gt; the exception.<br>
&gt;   &lt;xsd:import namespace=&quot;<a \
href="http://schemas.xmlsoap.org/soap/encoding/" \
target="_blank">http://schemas.xmlsoap.org/soap/encoding/</a>&quot;<br> &gt; \
schemaLocation=&quot;<a href="http://schemas.xmlsoap.org/soap/encoding/" \
target="_blank">http://schemas.xmlsoap.org/soap/encoding/</a>&quot;/&gt;<br> &gt;  \
&lt;xsd:import namespace=&quot;<a href="http://schemas.xmlsoap.org/wsdl/" \
target="_blank">http://schemas.xmlsoap.org/wsdl/</a>&quot;<br> &gt; \
schemaLocation=&quot;<a href="http://schemas.xmlsoap.org/wsdl/" \
target="_blank">http://schemas.xmlsoap.org/wsdl/</a>&quot;/&gt;<br> &gt; How do I \
solve?<br> &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div>--<br>
Sagara Gunathunga<br>
<br>
Blog      - <a href="http://ssagara.blogspot.com" \
target="_blank">http://ssagara.blogspot.com</a><br> Web      - <a \
href="http://people.apache.org/~sagara/" \
target="_blank">http://people.apache.org/~sagara/</a><br> LinkedIn - <a \
href="http://www.linkedin.com/in/ssagara" \
target="_blank">http://www.linkedin.com/in/ssagara</a><br> <br>
---------------------------------------------------------------------<br>
To unsubscribe, e-mail: <a \
href="mailto:java-dev-unsubscribe@axis.apache.org">java-dev-unsubscribe@axis.apache.org</a><br>
 For additional commands, e-mail: <a \
href="mailto:java-dev-help@axis.apache.org">java-dev-help@axis.apache.org</a><br> \
<br> </blockquote></div><br></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic