Hi Bharath,

Unfortunately at the moment this functionality in CXF is limited/missing.

There are two cases:

1. When your service is deployed as a war.
  Using your example:
  
http://localhost:8181/cxf/services/cxf/webservices/CalculatorService/schema1.xsd
   
  In this case CXF will look for this file in the /WEB-INF/wsdl/ directory of 
the war and publish it.


2. The service is a standalone process.
   CXF will only deal with querys for the endpoints base wsdl, any imported 
schemas/wsdl are unresolved and not published.

This functionality should be added in time.

Regards,

Seán.

   

> -----Original Message-----
> From: Bharath Ganesh [mailto:[EMAIL PROTECTED]
> Sent: 06 March 2007 06:16
> 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