users@jax-ws.java.net

for importing XMl schema in WSDL file

From: yuyin Song <yuyinsong_at_yahoo.com>
Date: Tue, 25 Jul 2006 12:18:52 -0700 (PDT)

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