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
>
>
>

Reply via email to