You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by David W Sica <da...@sica.ws> on 2007/10/31 17:56:15 UTC

wsdlLocation

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

Re: wsdlLocation

Posted by Glen Mazza <gl...@verizon.net>.
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 <da...@sica.ws> 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
> >
> >


Re: wsdlLocation

Posted by David W Sica <da...@sica.ws>.
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 <da...@sica.ws> 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
>
>

RE: wsdlLocation

Posted by "Sica, David (David)" <ds...@avaya.com>.
Thanks Dan, just sent you a private response with the war.

David

-----Original Message-----
From: Daniel Kulp [mailto:dkulp@apache.org] 
Sent: Monday, November 05, 2007 1:19 PM
To: cxf-user@incubator.apache.org
Cc: David W Sica
Subject: Re: wsdlLocation


Can you send me a war file or similar that shows the issue?  (private 
direct to me  is fine as well)   Definitely a lot easier to diagnose if 
I have a sample.

Dan


On Wednesday 31 October 2007, David W Sica 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



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog

Re: wsdlLocation

Posted by Daniel Kulp <dk...@apache.org>.
Can you send me a war file or similar that shows the issue?  (private 
direct to me  is fine as well)   Definitely a lot easier to diagnose if 
I have a sample.

Dan


On Wednesday 31 October 2007, David W Sica 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



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog