Yes, you missed or not created a cxf or cxf-servlet.xml file for you app configuration. I assumed that you know how to configure the configuration file, if not refer to spring documentation or other sources how to created and configure one.
Based on the code you listed look like your beans.xml file is your cxf file, but you defined it twice with cxf name. No need to import anything you defined as showed below.
For single beans.xml file use this configuration:
For multiple (i.e beans.xml, beans2.xml, beans3.xml...) files use this, this is just like above example, but multiple files:
Remember place all these files in "WEB-INF" directory otherwise it won't find your file, place the file to correct location where you have defined.
"Your life is in your hands, to make of it what you choose."
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop