Feb-20-2019, 07:12 AM
Hello,
I'm trying to invoke a SOAP web service, that returns multiple attachments in the response. I would like to automate invoking this service and save the attachment files in the file system.
I tried using 'requests' library and I can see the binary content being retrieved when I print the 'response.content'. How do I extract each attachment ?
If 'requests' is not the right way, please advise alternatives. I am a newbie and any guidance will help.
Thanks,
Ashwin
I'm trying to invoke a SOAP web service, that returns multiple attachments in the response. I would like to automate invoking this service and save the attachment files in the file system.
I tried using 'requests' library and I can see the binary content being retrieved when I print the 'response.content'. How do I extract each attachment ?
If 'requests' is not the right way, please advise alternatives. I am a newbie and any guidance will help.
Thanks,
Ashwin