cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-François Daune <>
Subject RE: jaxws:endpoint and wsdlLocation
Date Tue, 18 Sep 2007 06:36:01 GMT

regarding the problem of combining hand-written WSDL (i.e. wsdlLocation attribute) with servlet
transport, I came across this:

I think it would be nice to add this to the website documentation.

Besides that, I am not sure I have understood the proper configuration for servlet tranport.

The use of cxf-servlet.xml is particularly unclear.

Should I write my own, or import it in my Spring context?

What is the purpose of cxf-servlet.xml?



-----Message d'origine-----
De : Jean-François Daune []
Envoyé : lundi 17 septembre 2007 17:35
À :
Objet : RE: jaxws:endpoint and wsdlLocation

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"/>


-----Message d'origine-----
De : Sergey Beryozkin []
Envoyé : lundi 17 septembre 2007 16:11
À :
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" <>
To: <>
Sent: Monday, September 17, 2007 3:00 PM
Subject: jaxws:endpoint and wsdlLocation


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

           <bean class="org.apache.cxf.feature.LoggingFeature"/>

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

What should I put in 'wsdlLocation' ?



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

View raw message