question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to create SOAP web server using Fastapi ?

See original GitHub issue

First 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:open
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

5reactions
chbndrhnnscommented, Jun 9, 2022

how can we do in python?

It seems to me this is not the right place to ask such a question.

3reactions
priyatamnanocommented, Jun 9, 2022

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: @.***>

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found