简体   繁体   English

从SUDS python请求XML

[英]Request XML from SUDS python

Is there any method to return the SOAP Request XML before triggering a call to SOAP method in Suds library? 在Suds库中触发对SOAP方法的调用之前,是否有任何方法可以返回SOAP Request XML?

The client.last_sent() returns request XML after triggered the call. 触发调用后,client.last_sent()返回请求XML。 But I want to see before triggering the call. 但我想在触发呼叫之前先看一下。

Yes this is possible and seems to be used in different "fixer" implementations to take care of buggy servers. 是的,这是可能的,并且似乎可以在不同的“修复程序”实现中使用它来维护有问题的服务器。 Basically you should write a MessagePlugin and implement the sending method. 基本上,您应该编写一个MessagePlugin并实现sending方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM