Hi Bharath, at the moment, the access of imported schemas only works when CXF 
is deployed in a Servlet container, it does not work in standalone mode. Lets 
say your wsdl has an imported xsd called a.xsd, you can access this xsd by 
using URL 
http://localhost:8181/cxf/services/cxf/webservices/CalculatorService/a.xsd. 
Please note, this wont work if the xsd file is not installed under 
/WEB-INF/wsdl/ directory, just found this bug by looking into the code. I have 
filed a jira for this http://issues.apache.org/jira/browse/CXF-448

Hope this helps,

Jervis

> -----Original Message-----
> From: Bharath Ganesh [mailto:[EMAIL PROTECTED]
> Sent: 2007?3?6? 14:39
> To: [email protected]
> Subject: Accessing imported schema's
> 
> 
> >
> > Hi
> >
> > I need some clarity reagrding accessing schema definitions 
> imported by a
> > wsdl.
> > Basically, after publishing my JAX-WS web service, I can a 
> client can
> > access the wsdl by appending a "?wsdl" to the published location.
> > Example,
> > 
> http://localhost:8181/cxf/services/cxf/webservices/CalculatorS
> ervice?wsdl
> >
> > Assume the wsdl of CalculatorService imports some 
> schema1.xsd. How can a
> > client access schema1.xsd?
> >
> > Webservice client tools like SOAPUI would need to get hold 
> of imported
> > schema. How can this be achieved?
> >
> > Thanks
> > Bharath
> >
> 

Reply via email to