suds-community / suds

Suds is a lightweight SOAP python client for consuming Web Services. A community fork of the jurko fork.
https://suds.readthedocs.io/
GNU Lesser General Public License v3.0
173 stars 56 forks source link

Restore SoapClient last_received() function #79

Closed waynesun09 closed 2 years ago

waynesun09 commented 2 years ago

The last_received function have been removed with commit:

https://github.com/suds-community/suds/commit/8eaf1052529ee85ce1832c12260d54d482e6ab6a

The last_received function could be used to extract sessionId, which could be used to set into soapheaders for reuse the session.

Example usage could be found: https://github.com/RedHatQE/pylero/blob/main/src/pylero/session.py#L127

Please restore the function as can't find other way to get the sessionId from return message

leelavg commented 2 years ago
phillbaker commented 2 years ago

Hi, happy to review a PR for this. Based on the comment, it may be possible to revert the earlier commit.

On Fri, Jun 17, 2022 at 9:56 PM Leela Gangavarapu @.***> wrote:

— Reply to this email directly, view it on GitHub https://github.com/suds-community/suds/issues/79#issuecomment-1159337007, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAXCKMRFBLOSMPL6L6NE3TVPUUFJANCNFSM5ZDNSXEA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

waynesun09 commented 2 years ago

@phillbaker PR raised, please help check, thanks