This project demonstrates a SOAP service and client using Spyne and Zeep. The SOAP service performs a simple addition of two numbers, and the client interacts with the service to perform the calculation.
- Backend: Python, Spyne
- SOAP Protocol: Soap11
- SOAP Client: Zeep
Before running this project, make sure you have the following components installed:
- Python 3.10 or later
- Git
- A text editor such as Visual Studio Code (optional).
Use the following command to clone the project from GitHub:
git clone https://github.com/ciizao/SOAP_Python.git
Create a virtual environment to manage the project dependencies:
cd SOAP_Python
Create a virtual environment to manage the project dependencies:
python -m venv venv
- On Windows
venv\Scripts\activate
- On MAC/Linux
source venv/bin/activate
Use the requirements.txt file to install the necessary dependencies:
pip install -r requirements.txt
Start the SOAP server with the following command:
python soap_server.py
- The server will run on http://localhost:8000.
In a new terminal window, run the SOAP client:
python soap_client.py
-The client will prompt you to enter two numbers and then display the result of their addition by calling the SOAP service.
- The source code for this project is available on GitHub:
https://github.com/ciizao/SOAP_Python.git
