Skip to content

About

A comprehensive SOAP server application that provides the same functionality as the FastAPI task management API, but using SOAP protocol instead of REST.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Python spyne SOAP simple

A comprehensive SOAP server application that provides the same functionality as the FastAPI task management API, but using SOAP protocol instead of REST.

similar to the FastAPI task management API FastAPI simple REST API

Create the project with uv without initializing git use --bare

uv init --python 3.11 --bare

Option A: Using requirements.txt

# Generate requirements.txt from pyproject.toml
uv pip compile pyproject.toml -o requirements.txt

# Install dependencies from requirements.txt

uv add -r requirements.txt

Option B: Direct sync

uv sync

Start the server

uv run main.py
REST (FastAPI) SOAP (Spyne)
BaseModel (Pydantic) ComplexModel (Spyne)
@app.get("/tasks") @rpc(_returns=Iterable(TaskModel))
HTTPException(status_code=404) raise ResourceNotFoundError(...)
URL params /tasks/{id} Parámetro XML <task_id> en el body
Query params ?q=keyword Parámetro XML en el body
response_model=TaskResponse _returns=TaskModel en @rpc
Swagger UI (/docs) WSDL en /?wsdl

Collections

CREATE TASK

Step3

GET ALL TASKS

Step3

GET TASK

Step3

EDIT TASK

Step3

DELETE TASK

Step3

SEARCH TASKS

Step3

TASK STATS

Step3

Usage with Bruno:

Import the collections folder in Bruno to have access to all preconfigured endpoints for testing.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


👨‍💻 Author / Autor

Diego Ivan Perea Montealegre


Created by Diego Ivan Perea Montealegre

About

A comprehensive SOAP server application that provides the same functionality as the FastAPI task management API, but using SOAP protocol instead of REST.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages