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

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

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


```