You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "Gamble, Wesley (WG10)" <WG...@tmw.com> on 2007/10/01 23:55:41 UTC
My WS client generated using CXF works with Axis 2 libraries, but not with CXF libraries
All,
I am attempting to hit a remote Web service using CXF. I generated my
Java from WSDL using the CXF java2wsdl.
However, I made an error when I set up the runtime configuration of my
client and I was actually including all of the JARs from the 1.3 version
of Axis 2 in my CLASSPATH.
My client test worked.
Then I realized my error, removed all of the Axis2 libraries from my
CLASSPATH, replaced them with all of the CXF JARs in CXF_DIR/lib and now
my test doesn't work.
I am totally confused. There must be some sort of "default to Axis2"
type behavior in CXF?
Any insight is appreciated.
Thanks,
Wes
Re: My WS client generated using CXF works with Axis 2 libraries,
but not with CXF libraries
Posted by Glen Mazza <gl...@verizon.net>.
I've created three clients so far using CXF:
http://incubator.apache.org/cxf/resources-and-articles.html
You may want to follow some of those examples to help you get the
libraries set up correctly.
HTH,
Glen
Am Montag, den 01.10.2007, 16:55 -0500 schrieb Gamble, Wesley (WG10):
> All,
>
>
>
> I am attempting to hit a remote Web service using CXF. I generated my
> Java from WSDL using the CXF java2wsdl.
>
>
>
> However, I made an error when I set up the runtime configuration of my
> client and I was actually including all of the JARs from the 1.3 version
> of Axis 2 in my CLASSPATH.
>
>
>
> My client test worked.
>
>
>
> Then I realized my error, removed all of the Axis2 libraries from my
> CLASSPATH, replaced them with all of the CXF JARs in CXF_DIR/lib and now
> my test doesn't work.
>
>
>
> I am totally confused. There must be some sort of "default to Axis2"
> type behavior in CXF?
>
>
>
> Any insight is appreciated.
>
>
>
> Thanks,
>
> Wes
>
Re: My WS client generated using CXF works with Axis 2 libraries, but not with CXF libraries
Posted by Daniel Kulp <dk...@apache.org>.
Can I suggest that you try again from the beginning and make sure there
isn't anything from Axis 2 on the classpath or path?
My "gut feeling" says the Axis 2 wsdl2java stuff was on the classpath and
was picked up. The Axis 2 stuff is not jax-ws compliant and doesn't
produce stuff that will run in a proper jax-ws environment.
Dan
On Monday 01 October 2007, Gamble, Wesley (WG10) wrote:
> All,
>
>
>
> I am attempting to hit a remote Web service using CXF. I generated my
> Java from WSDL using the CXF java2wsdl.
>
>
>
> However, I made an error when I set up the runtime configuration of my
> client and I was actually including all of the JARs from the 1.3
> version of Axis 2 in my CLASSPATH.
>
>
>
> My client test worked.
>
>
>
> Then I realized my error, removed all of the Axis2 libraries from my
> CLASSPATH, replaced them with all of the CXF JARs in CXF_DIR/lib and
> now my test doesn't work.
>
>
>
> I am totally confused. There must be some sort of "default to Axis2"
> type behavior in CXF?
>
>
>
> Any insight is appreciated.
>
>
>
> Thanks,
>
> Wes
--
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727 C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog