I build a workflow with two steps: first step is to copy the list item itself with "create element in another website" which works fine.
Now I want to copy the attachment(s) as well and used the "web service call AddAttachment":
SOAP:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http://schemas.microsoft.com/sharepoint/soap/">
<soap:Header>
</soap:Header>
<soap:Body>
<m:AddAttachment>
<m:listName>https://xxx.yyy.de/Feedbackmanagement/Lists/FeedbackmanagementNeu</m:listName>
<m:listItemID>{WorkflowVariable:lidNeueElementID}</m:listItemID>
<m:fileName>{ItemProperty:FileLeaveRef}</m:fileName>
<m:attachment>base64Binary</m:attachment>
</m:AddAttachment>
</soap:Body>
</soap:Envelope>
Unfortunately I receive the following error message:
soap:ServerException of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown. List does not exist. The page you selected contains a list that does not exist. It may have been deleted by another user. 0x82000006
But the list exists. I can copy the string "https://xxx.yyy.de/Feedbackmanagement/Lists/FeedbackmanagementNeu" out of the web service call and the list opens.
What am I doing wrong?!?
















