rolfen

Attachment in Webservice call

Discussion created by rolfen on Jan 17, 2018

Dear Community,

 

within a list workflow we call a webservice (SOAP 1.2 protocol) with parameter values read from list item.

We also would like to send the item attachments, but we don't understand how to encode that.

Here is a working sample code:

<Attachment>

<Content>/9j/4AAQSkZJRgABAQE..<snip>AYABgAAD/FFFFABRRRQB/9k=</Content>

<ContentType>image/jpg</ContentType>

<Filename>screenshot.jpg</Filename>

</Attachment>

Here we have to encode the file/image to Base 64 and provide the mime type accordingly.

 

So what how to get this dynamically created inside the workflow?

 

Best Regards

Rolf

Outcomes