You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Keith Bohnenberger <kb...@mcdonaldbradley.com> on 2007/08/01 19:10:08 UTC

circular imports and xs:redefine

We have been given a rather complex schema.
Wsdl2Java isn't very happy.
It seems that the two main problems are circular imports (those crazy
spec guys say these are fine) and xs:redefine 

Circular imports result in a global type already defined kind of error.

xs:redefine results in a type not found kind of error

I didn't come up with a lot looking through the archives but I found the
following jira tickets
http://issues.apache.org/jira/browse/AXIS2-3041 which explains the
circular imports and http://issues.apache.org/jira/browse/AXISCPP-996
which might explain the xs:redefine issues (although the ticket is for
Axis C++)

Questions:
Is there any documentation that states limitations axis2 wsdl2java has
in regards to the schema spec?

Is xs:redefine a known problem for wsd2java?

Are there any known workarounds for the xs:redefine problem?


Thanks

Keith

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: circular imports and xs:redefine

Posted by Davanum Srinivas <da...@gmail.com>.
if you have redefine and circular schemas, try xmlbeans databinding,
you may need the nightly build of trunk as we just fixed some nasty
issues this morning.

thanks,
dims

On 8/1/07, Keith Bohnenberger <kb...@mcdonaldbradley.com> wrote:
> We have been given a rather complex schema.
> Wsdl2Java isn't very happy.
> It seems that the two main problems are circular imports (those crazy
> spec guys say these are fine) and xs:redefine
>
> Circular imports result in a global type already defined kind of error.
>
> xs:redefine results in a type not found kind of error
>
> I didn't come up with a lot looking through the archives but I found the
> following jira tickets
> http://issues.apache.org/jira/browse/AXIS2-3041 which explains the
> circular imports and http://issues.apache.org/jira/browse/AXISCPP-996
> which might explain the xs:redefine issues (although the ticket is for
> Axis C++)
>
> Questions:
> Is there any documentation that states limitations axis2 wsdl2java has
> in regards to the schema spec?
>
> Is xs:redefine a known problem for wsd2java?
>
> Are there any known workarounds for the xs:redefine problem?
>
>
> Thanks
>
> Keith
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org