This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Boram Lee
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic