Re: Possible to use CXF without Spring ?

2008-04-04 Thread Valerio Schiavoni
You were right. I excluded a bunch of dependencies, and everything still works just fine. Thanks for the prompt support ! As a side node, you might be interested to know that CXF is currently being used as support to build the web-service based bindings in the www.scorware.org project, which

Possible to use CXF without Spring ?

2008-04-03 Thread Valerio Schiavoni
Hello everyone, this might sound weird but: how could I use cxf without its Spring support ? Within our framework we already use another component-model (Fractal, see http://fractal.objectweb.org), and having both at the same time is a bit too much. Everything works fine, let me be clear, but

Re: Possible to use CXF without Spring ?

2008-04-03 Thread Daniel Kulp
CXF can be used without spring for some very basic use cases. Basically, simple JAXWS+JAXB client/server with no configuration (or use API's for configuration) and none of the complex things like ws-security/ws-rm that requires said configuration. Once you need to start configuring

Re: Possible to use CXF without Spring ?

2008-04-03 Thread Valerio Schiavoni
Interesting. My needs are indeed quite simple: i export java interfaces (without annotations), using hte ServerFactoryBean (configured manually with AegisDatabinding), and the same operations on the client side. Do you think such operations are enough simple to be done without Spring? Where can I

Re: Possible to use CXF without Spring ?

2008-04-03 Thread Glen Mazza
This might help: http://www.nabble.com/CXFNonSpringServlet-How-To--td15356670.html Am Donnerstag, den 03.04.2008, 17:42 -0400 schrieb Daniel Kulp: CXF can be used without spring for some very basic use cases. Basically, simple JAXWS+JAXB client/server with no configuration (or use API's

Re: Possible to use CXF without Spring ?

2008-04-03 Thread Daniel Kulp
On Thursday 03 April 2008, Valerio Schiavoni wrote: Interesting. My needs are indeed quite simple: i export java interfaces (without annotations), using hte ServerFactoryBean (configured manually with AegisDatabinding), and the same operations on the client side. Do you think such operations

Re: cxf without spring

2008-01-09 Thread Willem Jiang
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

Re: cxf without spring

2008-01-03 Thread Glen Mazza
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

Re: CXF without Spring?

2007-09-27 Thread Yeroc
-without-Spring--tf4470086.html#a12925133 Sent from the cxf-user mailing list archive at Nabble.com.

Re: CXF without Spring?

2007-09-20 Thread bobbydole
-8727C: 508-380-7194 [EMAIL PROTECTED] http://www.dankulp.com/blog -- View this message in context: http://www.nabble.com/CXF-without-Spring--tf4470086.html#a12804737 Sent from the cxf-user mailing list archive at Nabble.com.

Re: CXF without Spring?

2007-09-20 Thread Willem Jiang
Hi, I think you need to look up your class path if there any spring related class. Here is part of CXFServlet init code: String springCls = org.springframework.context.ApplicationContext; try { ClassLoaderUtils.loadClass(springCls, getClass());

Re: CXF without Spring?

2007-09-19 Thread Willem Jiang
Hi It looks like the servlet transport factory did not set up the transport id for you to use. If you just want CXF Servlet to use the CXFBusFactory , you can add this option -Dorg.apache.cxf.bus.factory=org.apache.cxf.bus.CXFBusFactory to your WebContainer's start up script. Willem.

Re: CXF without Spring?

2007-09-18 Thread Willem Jiang
Hi, I just check the stack trace , current CXF trunk add a null pointer checker at that point , can you try the latest SNAPSHOT? If you want to use the ServletTransport with the simple front end API, you still need to add the CXFServlet into you web.xml. The cxf-servlet.xml just contains the

Re: CXF without Spring?

2007-09-18 Thread bobbydole
-- View this message in context: http://www.nabble.com/CXF-without-Spring--tf4470086.html#a12759518 Sent from the cxf-user mailing list archive at Nabble.com.

Re: CXF without Spring?

2007-09-17 Thread Dan Diephouse
Hiya, I believe that the BusFactory will not create a new Bus unless it detects spring on your classpath. The fact that you're getting a NoClassDefFoundError supports this - otherwise you would have a ClassNotFoundException. So I would double check your classpath. Cheers, - Dan bobbydole

Re: CXF without Spring?

2007-09-17 Thread bobbydole
://www.nabble.com/CXF-without-Spring--tf4470086.html#a12746341 Sent from the cxf-user mailing list archive at Nabble.com.

Re: CXF without Spring?

2007-09-17 Thread Daniel Kulp
One more note. If you use Dispatch style clients, you may need to use the trunk snapshots (deploying another one now) until 2.0.2 is released (hopefully rebuilding that tomorrow if we can get all the TCK's passing). There is an issue where it won't be able to find the soap binding or