wood burning stoves 2.0*
The moose likes Web Services and the fly likes where to find cxf/cxf.xml, cxf-extension-soap.xml, cxf-servlet.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "where to find cxf/cxf.xml, cxf-extension-soap.xml, cxf-servlet.xml" Watch "where to find cxf/cxf.xml, cxf-extension-soap.xml, cxf-servlet.xml" New topic

where to find cxf/cxf.xml, cxf-extension-soap.xml, cxf-servlet.xml

Boram Lee

Joined: Dec 04, 2012
Posts: 4
Hi guys

I'm new to any of open framework(I'm a solution engineer based on java) and trying to build a cxf project.

I understand that I need to have 'applicationContext.xml' file and contents something like

<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xmlns:cxf="http://cxf.apache.org/core" xmlns:jaxws="http://cxf.apache.org/jaxws"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.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" />

<http-conf:conduit name="*.http-conduit">
<http-conf:client ReceiveTimeout="300000" AllowChunking="false"/>

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

<cxf:logging />

in it.

I now wonder where I can download
cxf/cxf.xml, cxf-extension-soap.xml, cxf-servlet.xml files.

Or that I created a Dynamic Web Project is wrong? Does some other project type automatically generates those files?

Or any guide for basic cfx environment setting? guys?
Eresh Leo

Joined: Mar 13, 2012
Posts: 8
Hi ,
Include CXF installed directory in your eclipse in Windows->preferences->webservices->cxf . This will solve your problem

Instead of downloading all the required jars that are used for cxf you can use maven that will automatically downloads from repository
Or if you want jars you can download from apache cxf official website
Apachecxf .
If you are familiar with maven . That is so easy

subject: where to find cxf/cxf.xml, cxf-extension-soap.xml, cxf-servlet.xml
Similar Threads
Error with web.xml
Transaction is not being committed
Mule standalone: Failed to read schema document "AMQP issue"
Mule standalone: Failed to read schema document "AMQP issue"
CXF-RS throwing No operation matching request path /create is found