create/deploy/run jax-ws services in the Eclipse environment using Swordfish target platform.
Here is step-by-step description.
General prerequisites:
Eclipse Galileo
Update Site url: http ://<host>/target.platform
Example project: cxf-osgi. This is modified cxf example to be PDE project.
Install Swordfish target platform:
ensure you have correct proxy settings in the Eclipse
go Help - Install New Software...
in the 'Work with' file Update Site url
choose 'Sample Target Platform Feature' and click Next
in the 'Install Details' window choose 'Sample Target Platform Feature' and click Finish.
Platform should be installed. Restart Eclipse.
Configure Eclipse to use Swordfish target platform:
go Window - Preferences - Plug-in development - Target Platform and click Add
in the 'New Target Defenition' choose 'Template' and select 'Sample Runtime Platform'. Click Next.
create New Target Defenition: click Finish.
in the 'Target Platform' window select 'swordfish' and set it active: 'Set Active'.
apply changes: Apply. And click Ok.
go Run - Run Configurations...
create new configuration: choose OSGI Framework - New. Set name for configuration: 'swordfish'.
Create example project:
import example project into workspace.
ensure there are no compile errors.
Run example project:
go Run - Run Configurations...
choose 'swordfish' configuration to run.
click Run. Wait untill container will start. Basicaly when in log you will see: INFO: Setting the server's publish address to be /HelloWorld you can do next steps