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
- Host: GitHub
- URL: https://github.com/ricardozanini/fuse-soap-spring-boot-example
- Owner: ricardozanini
- License: apache-2.0
- Created: 2018-12-04T18:27:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-31T14:01:30.000Z (over 7 years ago)
- Last Synced: 2025-02-07T02:51:13.049Z (over 1 year ago)
- Topics: camel, cxf, cxf-service, jax-ws, openshift, soap, spring-boot
- Language: Java
- Homepage:
- Size: 35.2 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`**.