https://github.com/teedjay/playground-soap
Simple SOAP using only plain JavaSE 8
https://github.com/teedjay/playground-soap
Last synced: over 1 year ago
JSON representation
Simple SOAP using only plain JavaSE 8
- Host: GitHub
- URL: https://github.com/teedjay/playground-soap
- Owner: teedjay
- Created: 2017-12-12T12:40:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-10-13T06:40:34.000Z (over 5 years ago)
- Last Synced: 2025-01-13T15:53:22.929Z (over 1 year ago)
- Language: Java
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# playground-soap
Simple SOAP using only plain Java SE 8
Added GitHub Action to the project for Java CI.
Made a change to trigger new build..
## How to build
You need Java 8 to build this project.
```
mvn clean
mvn package <== will build a runnable jar file at target/soap-1.0-SNAPSHOT.jar
```
## How to run this project
You can run directly from the command line.
```
java -cp target/soap-1.0-SNAPSHOT.jar com.teedjay.soap.BootServer
```
## How to use the service
WSDL will be available for import to SOAP-UI etc at `http://localhost:8082/pinger?wsdl`
You can post a request file by using this curl :
```
curl -i -X POST -H "Content-Type: text/xml" -d @src/test/resources/ExampleRequest.xml http://localhost:8082/pinger
```
The response should be like this :
```
This is a simple SAMPLE message
egassem ELPMAS elpmis a si sihT
2017-12-12T14:40:07.659
```