Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

You can deploy JAX-WS and JAX-RS services in a running Carbon instance by bundling them in a CXF application. Generally, the folder structure of a CXF application is as follows.

...

You can click the plus ‘+’ sign button to upload multiple Webapps at the same time.

3. If the file is uploaded successfully, a message appears prompting you to refresh the page. Click OK.

...

4. Refresh the "Running Applications" page in the product's Management Console to view the newly-added application listed.

 

Info

The file name of the archive is always used as the application name.

You can proceed to testing this application.

Instead of using the management console, you can manually place your JAX-WS/JAX-RS .war files to <PRODUCT_HOME>/repository/deployment/server/jaxwebapps directory.

Testing the JAX-WS/JAX-RS Application

Follow the instructions below to test your CXF application.

1. Log on to the product's Management Console and select "List" under menu "Applications".

Image Added

2. The "Running Applications" page appears. Click on the "Find Services" link associated with a given JAX-WS/JAX-RS application.

Image Added

3. A list of SOAP and RESTful services deployed through your application will be opened in a separate browser window.

For example,

Image Added

You can use the WSDL URLs of the services and try those services using the Try-It tool which can be found under Tools/Try-It menu.

Excerpt
hiddentrue

How to deploy and test JAX-WS and JAX-RS Applications.