That's one of the geronimo jars:
geronimo-ws-metadata_2.0_spec-1.1.2.jar

You can TRY removing:
<package-name>javax.jws.*</package-name>
from the prefer thing in your config to pickup the weblogic version.   I'm not 
sure if the one in weblogic 10 is completely usable though or not.

Dan



On Thu March 12 2009 7:09:31 pm Yazbek, Daniel (Daniel) wrote:
> The ClassNotFoundException I get is:
>
>
>
> java.lang.NoClassDefFoundError: javax/jws/WebService
>
>        at
> org.apache.cxf.jaxws.support.JaxWsImplementorInfo.initialize(JaxWsImplem
> entorInfo.java:255)
>
>        at
> org.apache.cxf.jaxws.support.JaxWsImplementorInfo.<init>(JaxWsImplemento
> rInfo.java:57)
>
>        at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.setServiceClass(Jax
> WsServiceFactoryBean.java:174)
>
>        at
> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.initializeServi
> ceFactory(AbstractWSDLBasedEndpointFactory.java:227)
>
>        at
> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(
> AbstractWSDLBasedEndpointFactory.java:99)
>
>        at
> org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:
> 52)
>
>        at
> org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactory
> Bean.java:102)
>
>        at
> org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.
> java:115)
>
>
>
> ________________________________
>
> From: Yazbek, Daniel (Daniel)
> Sent: Friday 13 March 2009 10:06
> To: '[email protected]'
> Subject: 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.

-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to