users@jax-rpc.java.net

Re: wsdl schema definition part : how to import schema?

From: Anne Thomas Manes <anne_at_MANES.NET>
Date: Fri, 28 Mar 2003 09:24:28 -0500

You can try the import -- see if it works.
But your proposal of specifying two schemas is probably more reliable.

> -----Original Message-----
> From: Public discussion on JAX-RPC
> [mailto:JAXRPC-INTEREST_at_JAVA.SUN.COM]On Behalf Of Pedro Salazar
> Sent: Friday, March 28, 2003 9:03 AM
> To: JAXRPC-INTEREST_at_JAVA.SUN.COM
> Subject: Re: wsdl schema definition part : how to import schema?
>
>
> Hi,
>
> On Fri, 2003-03-28 at 13:52, Anne Thomas Manes wrote:
> > Imports are tricky. You should be able to perform a schema import in the
> > <schema> element. But the success of such a move varies from
> implementation
> > to implementation.
> >
> > You can put the schema file wherever you like, but schemaLocation has to
> > point to it (you must provide the full URL).
> >
> > Anne
>
> So I presume that the best alternative is to define in an explicit way
> the schemas I would like to use in the WSDL file:
>
> <types>
> <schema 1... />
> <schema 2... />
> </types>
>
> And, in that way, could I referred in schema 1 elements from schema 2 by
> just declaring the schema 2 namespace in schema 1?
>
> thanks (again),
> Pedro Salazar.
> --
> PS
> pedro-b-salazar_at_ptinovacao.pt
> PGP:0E129E31D803BC61
>