RE: Using CXF with an Eclipse RCP Application
These might be enough: javax.annotation javax.jws javax.jws.soap javax.wsdl javax.wsdl.extensions javax.wsdl.extensions.http javax.wsdl.extensions.mime javax.wsdl.extensions.schema javax.wsdl.extensions.soap javax.wsdl.extensions.soap12 javax.wsdl.factory javax.wsdl.xml javax.xml.bind javax.xml.bind.annotation javax.xml.stream javax.xml.ws javax.xml.ws.handler javax.xml.namespace Regards Mayank This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! -Original Message- From: Mayank Thakore [mailto:[EMAIL PROTECTED] Sent: Saturday, February 09, 2008 08:55 To: cxf-user@incubator.apache.org Subject: Re: Using CXF with an Eclipse RCP Application if your cxf libs and service sei/impl are in separate bundles then you need to import some non-cxf namespaces also in your service sei/impl bundles. just check the imports used by your sei, those should be imported by your manifest... for e.x. you would need javax.jws, javax.jms, javax.xml.ws, etc. there aren't many... i'll try to send a list On Feb 9, 2008 3:30 AM, Kyle.Bober <[EMAIL PROTECTED]> wrote: > > I created a CXF OSGi bundle using the Eclipse Plug-in form Existing JAR > archive wizard. > > I used the latest SNAPSHOT CXF JAR: cxf-2.1-incubator-SNAPSHOT.jar > I then added the org.apache.cxf package to the import-packages of my > manifest.mf > > When I try to call my web services from my RCP application I receive the > following error: > > !ENTRY org.eclipse.osgi 4 0 2008-02-08 16:53:50.999 > !MESSAGE Application error > !STACK 1 > javax.xml.ws.WebServiceException: Provider com.sun.xml.ws.spi.ProviderImpl > not found >at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:38) >at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:133) >at javax.xml.ws.spi.Provider.provider(Provider.java:83) >at javax.xml.ws.Service.(Service.java:56) >at javax.xml.ws.Service.create(Service.java:691) >at cxf_client_test.Application.cxf(Application.java:22) >at cxf_client_test.Application.start(Application.java:34) >at > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java: 169) >at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication( EclipseAppLauncher.java:106) >at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAp pLauncher.java:76) >at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) >at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) >at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) >at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) >at java.lang.reflect.Method.invoke(Method.java:597) >at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508) >at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) >at org.eclipse.equinox.launcher.Main.run(Main.java:1173) >at org.eclipse.equinox.launcher.Main.main(Main.java:1148) > Caused by: java.lang.ClassNotFoundException: com.sun.xml.ws.spi.ProviderImpl >at java.lang.ClassLoader.findClass(ClassLoader.java:358) >at java.lang.ClassLoader.loadClass(ClassLoader.java:306) >at > org.eclipse.core.runtime.internal.adaptor.ContextFinder.loadClass(ContextFin der.java:124) >at java.lang.ClassLoader.loadClass(ClassLoader.java:251) >at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:34) >... 19 more > > My understanding is that it should be calling the ProviderImpl provided by > CXF. Has anyone had any luck calling Web Services via an Eclikpse RCP > application??? If so any advice or help here would be much appreciated!!! > -- > View this message in context: http://www.nabble.com/Using-CXF-with-an-Eclipse-RCP-Application-tp15364789p1 5364789.html > Sent from the cxf-user mailing list archive at Nabble.com. > >
Re: Using CXF with an Eclipse RCP Application
if your cxf libs and service sei/impl are in separate bundles then you need to import some non-cxf namespaces also in your service sei/impl bundles. just check the imports used by your sei, those should be imported by your manifest... for e.x. you would need javax.jws, javax.jms, javax.xml.ws, etc. there aren't many... i'll try to send a list On Feb 9, 2008 3:30 AM, Kyle.Bober <[EMAIL PROTECTED]> wrote: > > I created a CXF OSGi bundle using the Eclipse Plug-in form Existing JAR > archive wizard. > > I used the latest SNAPSHOT CXF JAR: cxf-2.1-incubator-SNAPSHOT.jar > I then added the org.apache.cxf package to the import-packages of my > manifest.mf > > When I try to call my web services from my RCP application I receive the > following error: > > !ENTRY org.eclipse.osgi 4 0 2008-02-08 16:53:50.999 > !MESSAGE Application error > !STACK 1 > javax.xml.ws.WebServiceException: Provider com.sun.xml.ws.spi.ProviderImpl > not found >at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:38) >at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:133) >at javax.xml.ws.spi.Provider.provider(Provider.java:83) >at javax.xml.ws.Service.(Service.java:56) >at javax.xml.ws.Service.create(Service.java:691) >at cxf_client_test.Application.cxf(Application.java:22) >at cxf_client_test.Application.start(Application.java:34) >at > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169) >at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) >at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) >at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) >at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) >at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >at java.lang.reflect.Method.invoke(Method.java:597) >at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508) >at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) >at org.eclipse.equinox.launcher.Main.run(Main.java:1173) >at org.eclipse.equinox.launcher.Main.main(Main.java:1148) > Caused by: java.lang.ClassNotFoundException: com.sun.xml.ws.spi.ProviderImpl >at java.lang.ClassLoader.findClass(ClassLoader.java:358) >at java.lang.ClassLoader.loadClass(ClassLoader.java:306) >at > org.eclipse.core.runtime.internal.adaptor.ContextFinder.loadClass(ContextFinder.java:124) >at java.lang.ClassLoader.loadClass(ClassLoader.java:251) >at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:34) >... 19 more > > My understanding is that it should be calling the ProviderImpl provided by > CXF. Has anyone had any luck calling Web Services via an Eclikpse RCP > application??? If so any advice or help here would be much appreciated!!! > -- > View this message in context: > http://www.nabble.com/Using-CXF-with-an-Eclipse-RCP-Application-tp15364789p15364789.html > Sent from the cxf-user mailing list archive at Nabble.com. > >
Using CXF with an Eclipse RCP Application
I created a CXF OSGi bundle using the Eclipse Plug-in form Existing JAR archive wizard. I used the latest SNAPSHOT CXF JAR: cxf-2.1-incubator-SNAPSHOT.jar I then added the org.apache.cxf package to the import-packages of my manifest.mf When I try to call my web services from my RCP application I receive the following error: !ENTRY org.eclipse.osgi 4 0 2008-02-08 16:53:50.999 !MESSAGE Application error !STACK 1 javax.xml.ws.WebServiceException: Provider com.sun.xml.ws.spi.ProviderImpl not found at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:38) at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:133) at javax.xml.ws.spi.Provider.provider(Provider.java:83) at javax.xml.ws.Service.(Service.java:56) at javax.xml.ws.Service.create(Service.java:691) at cxf_client_test.Application.cxf(Application.java:22) at cxf_client_test.Application.start(Application.java:34) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) at org.eclipse.equinox.launcher.Main.run(Main.java:1173) at org.eclipse.equinox.launcher.Main.main(Main.java:1148) Caused by: java.lang.ClassNotFoundException: com.sun.xml.ws.spi.ProviderImpl at java.lang.ClassLoader.findClass(ClassLoader.java:358) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at org.eclipse.core.runtime.internal.adaptor.ContextFinder.loadClass(ContextFinder.java:124) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:34) ... 19 more My understanding is that it should be calling the ProviderImpl provided by CXF. Has anyone had any luck calling Web Services via an Eclikpse RCP application??? If so any advice or help here would be much appreciated!!! -- View this message in context: http://www.nabble.com/Using-CXF-with-an-Eclipse-RCP-Application-tp15364789p15364789.html Sent from the cxf-user mailing list archive at Nabble.com.