How to create SOAP web server using Fastapi ?
See original GitHub issueFirst Check
- I added a very descriptive title to this issue.
- I used the GitHub search to find a similar issue and didn’t find it.
- I searched the FastAPI documentation, with the integrated search.
- I already searched in Google “How to X in FastAPI” and didn’t find any information.
- I already read and followed all the tutorial in the docs and didn’t find an answer.
- I already checked if it is not related to FastAPI but to Pydantic.
- I already checked if it is not related to FastAPI but to Swagger UI.
- I already checked if it is not related to FastAPI but to ReDoc.
Commit to Help
- I commit to help with one of those options 👆
Example Code
from typing import Union
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def read_root():
return {"Hello": "World"}
@app.get("/items/{item_id}")
def read_item(item_id: int, q: Union[str, None] = None):
return {"item_id": item_id, "q": q}
Description
How to create SOAP web server using Fastapi ?
Note: I know how to create restapi and web server
Operating System
Linux
Operating System Details
linux
FastAPI Version
3.0
Python Version
3.8
Additional Context
please help me asap
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
FastAPI
FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.7+ based on standard Python type hints. The key features...
Read more >How to generate WADL for rest service written with fastapi ...
As I understand it, wsdl is for the soap service, and wadl for my rest service. The web service has already been written....
Read more >Making SOAP API calls using Python - GeeksforGeeks
Method 2: Using Zeep · First, set the WSDL URL. · Next, you need to create a header element. · Now, initialize a...
Read more >How to Turn Any SOAP Web Service into a REST API
With this simple setup, you can basically take any WSDL and just put that WSDL URL in. Upon saving your settings, it will...
Read more >Getting Started with RESTful APIs and Fast API
Fast API is a Python web framework for creating APIs and web services. ... The SOAP stands for Service Object Access Protocol and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It seems to me this is not the right place to ask such a question.
Forget about fastapi ,how can we do in python?
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Odiseo @.> Sent: Friday, June 10, 2022 1:48:14 AM To: tiangolo/fastapi @.> Cc: Priyatam Nayak @.>; Author @.> Subject: Re: [tiangolo/fastapi] How to create SOAP web server using Fastapi ? (Issue #5005)
Honestly I’ve never seen someone use FastAPI with SOAP, I guess you could try returning raw xml responses with Responsehttps://fastapi.tiangolo.com/advanced/response-directly/, maybe the docs can help you a little and I also think you will need a SOAP client
— Reply to this email directly, view it on GitHubhttps://github.com/tiangolo/fastapi/issues/5005#issuecomment-1151306074, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYU3RVDQO526U76WGTXWNCTVOIG35ANCNFSM5YISW2GQ. You are receiving this because you authored the thread.Message ID: @.***>