An open API service indexing awesome lists of open source software.

https://github.com/ricardozanini/fuse-soap-spring-boot-example

A simple example of how to implement a JAX-WS (SOAP) CXF service with Camel and Spring Boot and deploy it on OpenShift
https://github.com/ricardozanini/fuse-soap-spring-boot-example

camel cxf cxf-service jax-ws openshift soap spring-boot

Last synced: 8 months ago
JSON representation

A simple example of how to implement a JAX-WS (SOAP) CXF service with Camel and Spring Boot and deploy it on OpenShift

Awesome Lists containing this project

README

          

# Fuse 7.x CXF Soap Service with Spring Boot example

A simple example of how to implement a JAX-WS (Soap) CXF service with Camel and Spring Boot.

## How to use

### Standalone

1. Clone this repo: `git clone https://github.com/ricardozanini/fuse-soap-spring-boot-example.git`
2. `cd fuse-soap-spring-boot-example`
3. Run the Spring Boot application with `mvn spring-boot:run`

### OpenShift

1. Clone this repo: `git clone https://github.com/ricardozanini/fuse-soap-spring-boot-example.git`
2. `cd fuse-soap-spring-boot-example`
3. Login to your cluster and select a project: `oc login -u -p && oc project `
4. run `oc process -f openshift/template.json -p SVC_USER_NAME=user -p SVC_PASSWORD=test | oc create -f -`

Your **temperature converter** SOAP service will be ready to use.

### Endpoints

- Catalog of deployed services: [http://localhost:8080/services/](http://localhost:8080/services/)
- WSDL: [http://localhost:8080/services/TemperatureEndpoint?wsdl](http://localhost:8080/services/TemperatureEndpoint?wsdl)
- SOAP Endpoint: [http://localhost:8080/services/TemperatureEndpoint](http://localhost:8080/services/TemperatureEndpoint)

**Note:** If on OpenShift, change `localhost:8080` to your route hostname and the protocol to **`https`**.