Yes, you could init a bus without the spring just as Glen shows.
Here is one thing that I should say about the
bus = BusFactory.newInstance().createBus();
The BusFactory will check your class path , if it can find some spring
relate class , it will use SpringBusFactory to load bus.
Unless you can the upper code to be
BusFactory busFactory = new CXFBusFactory();
bus = busFactory.createBus();
In you case , I think you still want to use spring , am I right :)
So what I am interested now is what kind of issue that
Jsr250PostProcessor caused.
We fixed some Spring 2.5 relate issues[1][2] in CXF 2.0.4 snapshot,
please feel free to try it out.
[1]http://issues.apache.org/jira/browse/CXF-1187
[2]http://issues.apache.org/jira/browse/CXF-1249
Willem.
Glen Mazza wrote:
cxf.xml is for bus (generic service/client endpoing) configuration--I
don't know what you're trying to do to be able to answer your question
directly.
The "Service configuration files" section of [1] gives you two separate
ways of configuring a CXF-based web service. Also, Willem recently
created a "CXFNonSpringServlet"[2] which may be what you're looking for.
Unfortunately AFAIK its usage has not been documented yet, but if you
ask Willem enough questions he may become motivated to write up about
it.
HTH,
Glen
[1] http://cwiki.apache.org/CXF20DOC/configuration.html
[2]
http://www.mail-archive.com/[EMAIL PROTECTED]/msg03018.html
Am Mittwoch, den 02.01.2008, 17:09 -0600 schrieb Patidar, Manoj:
Hi All,
can we configure cxf without using following xml as we are facing
issue with intiallizing the beans of our product if we import cxf.xml
in our application-context.xml. Jsr250PostProcessor.java is creating
some issue and none of our beans are intialized.
So my questions is can we avoid including cxf.xml. If yes how?
cxf.xml
cxf-extension.xml
cxf-property-editors.xml
your help is apreciated.
Thanks
Manoj patidar