Ticket #312 (new enhancement)

Opened 4 years ago

Last modified 4 years ago

Asynchrounous usage of suds

Reported by: saintpilgrim Owned by: jortel
Priority: major Milestone: 0.4
Component: suds (general) Version: 0.3.9
Keywords: async asynchronous twisted Cc:
Blocked By: Blocking:

Description

With the attached patches the library can be used asynchrounously

request = suds.client.service.method(args) (response is of type suds.transport.Request)

httpresponse = communicate_with_the_server(request)

reply = suds.Transport.Reply(response.code, response.headers, response.message)

response = suds.client.service.method.processreply(reply)

This enables usage with network libraries like twisted

Attachments

options.py.diff (1.1 KB) - added by saintpilgrim 4 years ago.
client.py.diff (4.6 KB) - added by saintpilgrim 4 years ago.

Change History

Changed 4 years ago by saintpilgrim

comment:1 Changed 4 years ago by saintpilgrim

Updated the client.py.diff to avoid an error during error checking in the processtransporterror method, as the "binding" variable was not being created

Changed 4 years ago by saintpilgrim

Note: See TracTickets for help on using tickets.