我正在研究WSDL。我需要使用zeep包创建SOAP请求。所以我实现了
的代码from zeep import Client
service = Client('https://api.mindbodyonline.com/0_5_1/ClientService.asmx?wsdl')
request = service.service.GetClientServices
但我无法继续前进。因为我无法通过此请求登录并传递参数。我希望通过此请求填写所有要求。谁能告诉我如何通过这个请求传递所有这些参数。 这是HTTP标头
SOAPAction: "http://clients.mindbodyonline.com/api/0_5_1/GetClientServices"
Content-Type: text/xml; charset="utf-8"