users@jax-ws.java.net

Re: for importing XMl schema in WSDL file

From: yuyin Song <yuyinsong_at_yahoo.com>
Date: Wed, 26 Jul 2006 06:10:16 -0700 (PDT)

Anne,

Thanks.
Yes. The element of ReadServiceRequest and ComplexType
of ReadServiceRequestType are in the schema file.
Regards,

Yuyin

--- Anne Thomas Manes <atmanes_at_gmail.com> wrote:

> It would help if we could see the WSDL and schema
> ...
>
> but your error message does provide a hint. You say
> that you have a
> complexType defined in the schema called
> "ReadServiceRequest", but do
> you also have an element of that name?
>
> Anne
>
> On 7/25/06, yuyin Song <yuyinsong_at_yahoo.com> wrote:
> > All,
> >
> > I tried to import schema in WSDL. The WSDL file
> and
> > schema file are in the same fold and has the same
> > targetnamespace. The importing syntax is as
> follows:
> > <xs:import
> > namespace="http://localhost/TransducerServices"
> > schemaLocation="ReadServiceRequest.xsd"/>
> >
> > When I use wsdl file to generate and deploy web
> > service, everything is ok. But when I add register
> or
> > add service, some error is generated: "invalid
> element
> > ReadServiceRequest", which is complexType in
> > ReadServiceRequest.xsd. I guss that it can not be
> > found.
> >
> > Who has some successful experince to import XML
> schema
> > in WSDL. Please share your experince. Thanks.
> > Regards,
> >
> > Yuyin
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > 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
>
>


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com