Hmmm...shouldn't the XSD's be in the same directory as the WSDL (i.e.,
WEB-INF/wsdl)?  According to here[1], that's where they need to be.

HTH,
Glen

[1]http://blogs.sun.com/manveen/entry/converting_an_existing_webservice_to

Am Montag, den 05.11.2007, 08:50 -0700 schrieb David W Sica:
> I don't recall seeing a response on this question, does anyone have any
> thoughts on this problem?
> 
> Thanks,
> David
> 
> On 10/31/07, David W Sica <[EMAIL PROTECTED]> wrote:
> >
> > I'm trying to deploy a WS where I'm defining the wsdlLocation in my
> > SOAPPortImpl file as "WEB-INF/wsdl/file.wsdl".  In my wsdl, I am importing
> > several XSDs as:
> >
> > <xs:import namespace=" http://url"; schemaLocation="file.xsd"/>
> >
> > I'm using a beans.xml file as:
> >
> > <beans xmlns="http://www.springframework.org/schema/beans "
> >     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >     xmlns:jaxws="http://cxf.apache.org/jaxws "
> >     xsi:schemaLocation="
> > http://www.springframework.org/schema/beans 
> > http://www.springframework.org/schema/beans/spring-beans.xsd
> >
> > http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd";>
> >
> >     <import resource="classpath:META-INF/cxf/cxf.xml" />
> >     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
> >     <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
> > .
> > .
> > .
> >
> > However, I can't seem to get Tomcat6 to find both the WSDL and XSD files.
> > Right now it's finding the WSDL but not the XSDs.  It's trying to find the
> > XSD files in %TOMCATHOME%\bin.  Any hints would be greatly appreciated!
> >
> > Thanks,
> > David
> >
> >

Reply via email to