A simple example of how to implement a JAX-WS (Soap) CXF service with Camel and Spring Boot.
- Clone this repo:
git clone https://github.com/ricardozanini/fuse-soap-spring-boot-example.git
cd fuse-soap-spring-boot-example
- Run the Spring Boot application with
mvn spring-boot:run
- Clone this repo:
git clone https://github.com/ricardozanini/fuse-soap-spring-boot-example.git
cd fuse-soap-spring-boot-example
- Login to your cluster and select a project:
oc login -u <user> -p <password> && oc project <myproject>
- 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.
- Catalog of deployed services: http://localhost:8080/services/
- WSDL: http://localhost:8080/services/TemperatureEndpoint?wsdl
- SOAP Endpoint: http://localhost:8080/services/TemperatureEndpoint
Note: If on OpenShift, change localhost:8080
to your route hostname and the protocol to https
.