axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anne Thomas Manes" <atma...@gmail.com>
Subject Re: Handling Recursive include in WSDL XSD
Date Tue, 29 Jan 2008 13:39:35 GMT
Assuming that each schema requires entities from the other schemas,
the only way to eliminate the recursive includes is to combine the
three schemas into one.

Anne

On Jan 29, 2008 1:43 AM, Phanikumar Bhamidipati
<phanikumar.bhamidipati@gmail.com> wrote:
>  Hi All,
>
>  I 'am trying to create a java client proxy for my WSDL. My XSD "includes" 3
> other xsds that have recursive imports among them due to which the client
> proxy generation results in an infinite loop eventually leading to a
> StackOverFlowException. This happens in Axis 1.2 and Oracle jdeveloper as
> far as I 've tested. Though I heard the latest versions of these tools do
> support recursive include handling, I would like to get rid of this
> recursive include so that it can be used to generate client proxy in most
> available tools.
>
>  Here is my usecase:
>
>  TestEmployee.WSDL
>  ....
>  <xsd:schema>
>  <xsd:import
> namespace="http://xmlns.oracle.com/apps/fnd/framework/svctoolbox/samplelib"
> schemaLocation="http://<host>/<path>/TestEmployeeService.xsd"/>
>  </xsd:schema>
>
>
>  TestEmployeeService.xsd:
>  =============================
>  <xsd:include schemaLocation=A.xsd/>
>  <xsd:include schemaLocation=B.xsd/>
>  <xsd:include schemaLocation=C.xsd/>
>
>
>  A.xsd
>  ===================================
>
>  <xsd:include schemaLocation=C.xsd/>
>
>  B.xsd
>  ===================================
>  <xsd:include schemaLocation=A.xsd>
>  <xsd:include schemaLocation=C.xsd>
>
>  C.xsd
>  =====================================
>  <xsd:include schemaLocation=B.xsd>
>
>
>
>  The xsd structures are such that the include can not be ignored. Any
> suggestions on how to break the loop in this recursion would be immensely
> helpful.
>
>  Thanks,
> Phani

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


Mime
View raw message