You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "Yazbek, Daniel (Daniel)" <dy...@avaya.com> on 2009/03/13 00:06:12 UTC
CXF Client in Weblogic 10
I don't think this e-mail got through in my previous attempt to send it.
If you have received this twice - sorry for the spam...
Hi all,
I'm trying to use a CXF client that has been built from WSDL, inside a
session bean on WebLogic 10.
I've added cxf-2.1.4.jar onto my web-app's classpath (the EAR's lib
directory), and reconfigured my weblogic-application.xml to look like:
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-application xmlns="http://www.bea.com/ns/weblogic/90">
<application-param>
<param-name>webapp.encoding.default</param-name>
<param-value>UTF-8</param-value>
</application-param>
<prefer-application-packages>
<package-name>javax.jws.*</package-name>
<package-name>org.apache.xerces.*</package-name>
<package-name>com.ctc.wstx.*</package-name>
<package-name>org.springframework.*</package-name>
</prefer-application-packages>
</weblogic-application>
Now, When use the SessionBean to bind to the Web Service, I get the
ClassNotFound exception below.
I am a bit reluctant to put the Geronimo JARs onto my application's
classpath, as this may mess with weblogic's internal jax-ws.
Has anyone got a CXF client working in WebLogic 10 before?
Any thoughts/suggestions?
Thanks!
-Daniel.