This project is a simple SOAP service implemented in Ruby and Docker. SOAP (Simple Object Access Protocol) is a protocol for exchanging structured information in the implementation of web services.
Open a terminal and clone the repository:
git clone https://github.com/freddyelgato/SOAP.git
cd SOAP
If you plan to run the application locally, install the required dependencies:
bundle install
Start the SOAP service:
ruby app.rb
Build and run the application using Docker:
docker build -t soap_service .
docker run -d -p 8080:8080 --name soap_server soap_service
Alternatively, pull the pre-built image from Docker Hub:
docker pull 2424833f/soap-service
docker run -d -p 8080:8080 --name soap_server 2424833f/soap-service
Verify the service is running by accessing the SOAP endpoint:
URL: http://localhost:8080
Send a SOAP request using a tool like curl:
curl -X POST -H "Content-Type: text/xml" -d @request.xml http://localhost:8080
Example SOAP Request (request.xml):
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Body>
<ExampleRequest xmlns="http://example.com/">
<Message>Hello, SOAP!</Message>
</ExampleRequest>
</soap:Body>
</soap:Envelope>
Example SOAP Response:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Body>
<ExampleResponse xmlns="http://example.com/">
<Message>Response Received!</Message>
</ExampleResponse>
</soap:Body>
</soap:Envelope>

This project is licensed under the MIT License. See the LICENSE file for details.
Content type
Image
Digest
sha256:c99916bf7…
Size
367 MB
Last updated
almost 2 years ago
docker pull 2424833f/soap-service