I have no cxf-servlet.xml, but my Spring context contains the following:

    <!-- Import the main CXF configuration file -->
    <import resource="classpath:META-INF/cxf/cxf.xml"/>
    <!-- Import the SOAP bindings configuration file -->
    <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
    <!-- Import the servlet transport configuration file -->
    <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
        

J-F

-----Message d'origine-----
De : Sergey Beryozkin [mailto:[EMAIL PROTECTED]
Envoyé : lundi 17 septembre 2007 16:11
À : [email protected]
Objet : Re: jaxws:endpoint and wsdlLocation


Do you use <import> statements in your cxf-servlet.xml ? If yes then get rid of 
them and it should fix the problem...

Cheers, Sergey
----- Original Message ----- 
From: "Jean-François Daune" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, September 17, 2007 3:00 PM
Subject: jaxws:endpoint and wsdlLocation


Hi,

I cannot manage to configure properly a JAX-WS endpoint using servlet transport 
in Tomcat 5.5 with a custom WSDL:

<jaxws:endpoint
            id="BackOffice"
            implementor="#backOfficeService"
            address="/erh/backoffice"
            wsdlLocation="WEB-INF/backoffice.wsdl">
        <jaxws:features>
           <bean class="org.apache.cxf.feature.LoggingFeature"/>
        </jaxws:features>
</jaxws:endpoint>


Generates: java.io.FileNotFoundException: 
D:\tools\apache-tomcat-5.5.25\bin\WEB-INF\backoffice.wsdl

What should I put in 'wsdlLocation' ?

Cheers,

J-F

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland

Reply via email to