There is a file in the distro called 'WHICH_JARS'. If you aren't using maven, you need to read it to answer this question.
On Sun, Jan 30, 2011 at 11:11 AM, Michael <[email protected]> wrote: > I'm starting to piece some things together from your response and Freeman's. > > With Eclipse Helios the Web Tools Platform (WTP) has been enhanced to > include CXF. > > I can configure Eclipse to point to the CXF runtime, in my case v2.3.0. > > When I create a "Dynamic Web Project" for web services development, Eclipse > automatically makes all the .jar files in the apache-cxf-2.3.0\lib directory > available to my project. The .jar file Freeman indicated that I might be > missing is the cxf-rt-frontend-jaxws-2.3.0.jar which is in > apache-cxf-2.3.0\modules. There are many .jar file in this directory. Is > this the only one I need? > > ----- Original Message ----- From: "Benson Margulies" > <[email protected]> > To: <[email protected]> > Sent: Saturday, January 29, 2011 1:58 PM > Subject: Re: What am I missing? > > > There are many detailed parameters that you can control more directly > with the CXF API than with the JAX-WS API. > > However, you might not need or care about them. > > On the client side, the class you want is JaxWsProxyFactoryBean. > > You can see a simple example in > http://www.benmccann.com/dev-blog/web-services-tutorial-with-apache-cxf/, > > However, it seems as if your real problem is classpath. You want to > call the JAX-WS API and get the CXF provider, not the built-in one > that comes with the JRE. That requires the putting enough CXF jars > into your classpath. What is your current classpath? > > On Sat, Jan 29, 2011 at 8:18 AM, Michael <[email protected]> wrote: >> >> What will that do for me? >> >> What can I do on the server and client sides with CXF API that I can't do >> with native JAX-WS? More importantly, how do I do it? >> >> The Apache CXF web site does not seem to make this clear, nor does the >> FuseSource documentation or sample code. Neither shows any examples of how >> to use the CXF API, unless I've missed something which is quite possible! >> >> Thanks >> >> ----- Original Message ----- From: "Freeman Fang" <[email protected]> >> To: <[email protected]> >> Sent: Friday, January 28, 2011 9:50 PM >> Subject: Re: What am I missing? >> >> >> Hi, >> >> Seems like your Eclipse env not pick up cxf as jaxws implementation >> provider, you need ensure cxf-rt-frontend-jaxws-2.3.0.jar is in your >> classpath. >> >> Freeman >> On 2011-1-29, at 上午9:45, Michael wrote: >> >>> I'm new to CXF and have been working with it for several weeks. >>> >>> I've been using Eclipse Helios (3.6) with the built in built in WTP >>> features for CXF. I've downloaded CXF 2.3.0 and configured Eclipse >>> to use this version of the CXF runtime. >>> >>> I've created several simple Java First web services and got them >>> working with clients all using the features described above. >>> >>> Lately, I've working with the FuseSource Services Framework (for >>> CXF). Presently I'm just reviewing their Java First samples. >>> >>> I've looked at the Javadoc for the CXF API but I never see any of >>> these classes being used. What am I missing? >>> >>> Both my simple Java First web services and THe FuseSource Java First >>> samples all use JAX-WS. What am I missing? >>> >>> Where does CXF come in? >> >> >> -- >> Freeman Fang >> >> ------------------------ >> >> FuseSource: http://fusesource.com >> blog: http://freemanfang.blogspot.com >> twitter: http://twitter.com/freemanfang >> Apache Servicemix:http://servicemix.apache.org >> Apache Cxf: http://cxf.apache.org >> Apache Karaf: http://karaf.apache.org >> Apache Felix: http://felix.apache.org >> >> >> > >
