File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Author

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

Boram Lee
Greenhorn

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"
xmlns:http-conf="http://cxf.apache.org/transports/http/configuration"
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"/>
</http-conf:conduit>

<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:bus>
<cxf:features>
<cxf:logging />
</cxf:features>
</cxf:bus>

</beans>
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
Greenhorn

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

regards
Eresh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: where to find cxf/cxf.xml, cxf-extension-soap.xml, cxf-servlet.xml
 
Similar Threads
Mule standalone: Failed to read schema document "AMQP issue"
Error with web.xml
Mule standalone: Failed to read schema document "AMQP issue"
CXF-RS throwing No operation matching request path /create is found
Transaction is not being committed