You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Dan Diephouse <da...@envoisolutions.com> on 2007/03/31 22:22:02 UTC

Servlets and XSD imports

I updated our CXFServlet so that we exclusively use Spring, but there is one
piece of functionality I was having a hard time getting to work - the xsd
imports. In the CXFServletTest there is a testGetImportedXSD test. I'm
having a hard time figuring out how this worked to begin with. How did
http://localhost/services/test_import.xsd get written out to the user?

I disabled the test for now. If someone could please give me a pointer on
how this is supposed to work I will try and fix it ASAP.
Thanks,
- Dan
-- 
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog

RE: Servlets and XSD imports

Posted by "Liu, Jervis" <jl...@iona.com>.
Hi Dan, for the xsd stuff to work, it needs to know the WSDL location (a local variable in ServletController) where the wsdl is loaded, so that the xsd can resolved relative to the wsdl. I probably know whats wrong there, I will fix this.

Cheers,
Jervis

> -----Original Message-----
> From: Dan Diephouse [mailto:dan@envoisolutions.com]
> Sent: 2007?4?1? 4:22
> To: cxf-dev@incubator.apache.org
> Subject: Servlets and XSD imports
> 
> 
> I updated our CXFServlet so that we exclusively use Spring, 
> but there is one
> piece of functionality I was having a hard time getting to 
> work - the xsd
> imports. In the CXFServletTest there is a testGetImportedXSD test. I'm
> having a hard time figuring out how this worked to begin with. How did
> http://localhost/services/test_import.xsd get written out to the user?
> 
> I disabled the test for now. If someone could please give me 
> a pointer on
> how this is supposed to work I will try and fix it ASAP.
> Thanks,
> - Dan
> -- 
> Dan Diephouse
> Envoi Solutions
> http://envoisolutions.com | http://netzooid.com/blog
>