Hello,
I am very new to XML and having trouble configuring a Call Web Service action. Can anyone tell me what is wrong with my XML code please?
My process is:
1. Site A: List A workflow creates a new item in Site B: List B (same site collection). As part of the Create Item action, the column RFTID in List B is set to the ID of the item in List A on which the workflow is running.
2. A workflow on List B is started upon creation of the new item in List B in which the Call Web Service is intended to update the item in Site A: List A, with the Title of the new item in Site B: List B.
I am getting this error from the Site B: List B workflow, on the Call Web Service action:
Failed to invoke web service. Error returned from server: <soap:Fault xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>soap: Server</faultcode><faultstring>Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
Here is the XML in my SOAP Editor:
<?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:Body>
<m:UpdateListItems>
<m:listName>{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}</m:listName>
<m:updates>
<Method ID="1" Cmd="Update">
<Field Name="ID">{ItemProperty:RFTID}</Field>
<Field Name="NewCRNumber">{ItemProperty:Title}</Field>
</Method>
</m:updates>
</m:UpdateListItems>
</soap:Body>
</soap:Envelope>
Thank you in advance for any assistance!