T
T
TechNOIR2017-12-04 09:14:45
Python
TechNOIR, 2017-12-04 09:14:45

Python. How to make a request to SOAP API?

Good afternoon.
I recently started learning Python, I have a question comrades.
I deal with the Housing and Utilities Reform API, in order to log in there you need to make a SOAP request.
Everything was clear with JSON requests, but I don’t understand how to do SOAP .. Tell me?
Request example:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.reformagkh.ru/api_document_literal">
   <soapenv:Header/>
   <soapenv:Body>
      <api:Login>
         <login>?</login>
         <password>?</password>
      </api:Login>
   </soapenv:Body>
</soapenv:Envelope>

thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2018-08-08
@8toni8

Python SOAP client example?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question