I still recommend that you take this up with Adobe. It's quite common
to import schemas (e.g., common types are imported into specific
document definitions), and the JAX-RPC and JAX-WS specs require that a
compliant system must be able to handle any valid WSDL/schema.
Nonetheless, a developer should have the option to specify the number
of namespaces generated by these tools.
Anne
On 10/19/06, Dima Gutzeit <dima_at_mailvision.com> wrote:
> Actually they do support one import from WSDL but not when one shema file
> imports another. Can Jax-WS, Jax-B be customized not to create separate file
> for each namespace, but put all the schema in one file ?
>
> Regards,
> Dima Gutzeit.
>
>
> ----- Original Message -----
> From: "Anne Thomas Manes" <atmanes_at_gmail.com>
> To: <users_at_jax-ws.dev.java.net>
> Sent: Wednesday, October 18, 2006 12:19 AM
> Subject: Re: Generating inline schema
>
>
> > You should take this issue up with Adobe. Flex2 should definitely
> > support imported schemas.
> >
> > It's a best practice to define types (reusable definitions that
> > typically will be used in many applications -- not just web services)
> > in separate schema files and to import them into the <wsdl:types>
> > section using <xsd:import>.
> >
> > Anne
> >
> > On 10/17/06, Dima Gutzeit <dima_at_mailvision.com> wrote:
> >> Vivek,
> >>
> >> My company is developing a product based on web services, both server and
> >> client side.
> >> The client side in this case is Flex2 application, and unfontunately
> >> Flex2
> >> web service implementation currently does not support inporting external
> >> schema files. I am pretty sure that there are other client with the same
> >> problem.
> >>
> >> So for now I have to edit WSDL files manually to inline the schema, and
> >> this
> >> is not a very nice way :-)
> >>
> >> Regards,
> >> Dima Gutzeit.
> >>
> >> ----- Original Message -----
> >> From: "Vivek Pandey" <Vivek.Pandey_at_Sun.COM>
> >> To: <users_at_jax-ws.dev.java.net>
> >> Sent: Tuesday, October 17, 2006 5:48 PM
> >> Subject: Re: Generating inline schema
> >>
> >>
> >> > Dima Gutzeit wrote:
> >> >> Hi,
> >> >>
> >> >> Are there plans to add configuration that will make Jax-WS generating
> >> >> the
> >> >> schema INLINE in the WSDL file, rather then creating external XSD file
> >> >> ?
> >> >>
> >> > There is no plan currently. Why do you prefer inlining vs reference to
> >> > external schema file?
> >> >
> >> > -vivek.
> >> >> Regards,
> >> >> Dima Gutzeit.
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> >> >> For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
> >> >>
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> >> > For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> >> For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> > For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
>
>