-
1. Re: deploy cxf webservice info fuse ESB
ffang Dec 13, 2011 8:56 AM (in response to ilkar)Hi,
Generally we use a bundle jar which use http-osgi transport but not the war to publish cxf webservices.
Also a war works in tomcat doesn't means it can also work in FUSE ESB, FUSE ESB basically is a OSGi container, so it needs more OSGi metadata(like package import) in war headers.
You need repackage your war as bundle, you can take a look at cxf-osgi example shipped with kit, or you can use servicemix-cxf-code-first-osgi-bundle archetype here[1] which is exactly same as your requirement IMO.
http://repo2.maven.org/maven2/org/apache/servicemix/tooling/servicemix-cxf-code-first-osgi-bundle/2011.01/
Freeman
-
2. Re: deploy cxf webservice info fuse ESB
ilkar Dec 15, 2011 9:44 AM (in response to ffang)OK, but i have another question.
I would like to create cxf web service with jaxrs.
My problem is, that i can't find any maven archetype for it.
I have a lot of archetypes, but all of them have dependencies, which i don't need.
Maybe you have a pom.xml, which will have everything what i need for fuse esb and dependencies for jaxrs nad cxf ?
-
3. Re: deploy cxf webservice info fuse ESB
ffang Dec 15, 2011 8:02 PM (in response to ilkar)Hi,
Actually we have a cxf-jaxrs example shipped with FUSE ESB kit, which should be a good start for you.
Freeman