frx
frx

Reputation: 492

Build soap message only, using SUDS

Currently I'm struggling while trying to generate soap message with SUDS. Things I want to achieve is something like

xml_string = client.service.getPercentBodyFat('jeff', 68, 170)

instead of calling remote procedure I want to get soap message as xml string or object.

Thank You!

Upvotes: 1

Views: 501

Answers (1)

dandrews
dandrews

Reputation: 3045

If you make the actual remote call, even if the service is not available, you can then capture the request with

xml_string = client.last_sent()
print xml_string

Upvotes: 1

Related Questions