Am Freitag, den 07.12.2007, 11:02 -0500 schrieb Silberman, Nathan:
> Does CXF have a standard file structure/method for where to place the
> xsds if one abstracts out schemas to external files? 

The standard JAX-WS way I believe (from JSR 109) is that the wsdl and
xsd's go into your WEB-INF/wsdl directory of the WAR supporting your web
service.


> Since the import I
> have refers to a URI like: 
> 
> <import namespace="..."
> location="http://mysite.com/schemas/myschema.xsd"/>
> 
> I need to alter my web.xml to tell CXF not to route this request to the
> CXFServlet and instead have a regular file serving servlet that will
> server the XSD. Is there any other way to do this?
> 

Place the XSD's in the wsdl subdirectory as mentioned above?  It should
be accessible that way, just like the wsdl is when it is in that
directory.

Glen


Reply via email to