Forum Discussion
richie
3 years agoCommunity Hero
Hey akashbam
Is there a reason you're trying to attach the file using code rather than the embedded functionality available in SoapUI?
Adding attachments to a SOAP message is pretty straightforward if you follow the instructions here --> https://support.smartbear.com/readyapi/docs/requests/attachment/soap.html
Reply back if you're still struggling after trying the instructions
Cheers,
Rich
- akashbam3 years agoNew Contributor
Thanks richie for your response.
Well, I want to attach a file with code(python). I am calling soap API and binding it with with web service(createAttachment) which accepts parameter as
import zeepclient.service.createAttachment(sid=788139782, repositoryHandle='doc:1002', objectHandle='cr:1306591599', description='Test file', fileName='Test Data')I'm able to attach a file using soapUI but want to do the same using python.Thanks,Akash
Related Content
- 9 years ago
- 11 years ago
Recent Discussions
- 15 years ago