cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamlax <ham...@gmail.com>
Subject plain maven project on server side, rcp on client side
Date Thu, 01 Sep 2011 08:25:40 GMT
Hey guys, 

I am facing issues when developing the webservice consumer in eclipse rcp.


what i have is a plain maven server project, that sets up the cxf
dependencies, contains an xml file that creates the endpoints and uses
jax-ws and jaxb. exported as a war and deployed in a tomcat container, this
works just fine.

problems start when i want to get the rcp client up and running ... 

what i did first was to develop a consumer in a plain maven project. works
just fine. i used a context xml that contained the following:

<jaxws:client id="activityServiceClient"
serviceClass="de.c1wps.geneal.hpa.domain.obstacleactivity.service.IActivityService"
		address="http://localhost:8080/HPA-IPM-WS/ActivityService" />

everything works ... 

now the problem is to get all the cxf dependencies wrapped as bundles and
punched into the rcp target platform ... this is harder than it seems ... i
found the DOSGi distribution of cxf, but for some reason this does not help
either. it looks like it expects a osgi server too. when i add the
single-osgi-distribution bundle to the client target platform and set up the
context xml, it throws exceptions all over the place.


please advise :-)

--
View this message in context: http://cxf.547215.n5.nabble.com/plain-maven-project-on-server-side-rcp-on-client-side-tp4757532p4757532.html
Sent from the cxf-issues mailing list archive at Nabble.com.

Mime
View raw message