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.
HellowService.war WEB-INF/ web.xml cxf-servlet.xml wsdl lib/ classes/ META-INF/
However, this can change depending on your service.
Follow the instructions below to deploy your CXF application.
1. Log on to the product's Management Console and select "JAX-WS/JAX-RS” under “Applications” -> “Add” in the left pane.
2. The "Upload JAX-WS/JAX-RS Applications" page appears. Select your .war file and click "Upload". For example,
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.
If the deployment is not successful, the application will be listed in a Faulty JAX-WS/JAX-RS Application link. You can click the link to view the errors.
4. Refresh the "Running Applications" page in the product's Management Console to view the newly-added application listed.
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.