I'm trying to save the trouble of editing the workflow every time a new component is added and build a set of actions that would build a library name according to a standard, and then create a document set in that library. I am trying to use the Call Web Service with the following configuration:
<?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>{Library Name}</m:listName>
<m:updates>
<Batch OnError="Continue">
<Method ID="2" Cmd="New">
<Field Name="ID">New</Field>
<Field Name="ows_ContentType">Resident Folder</Field>
<Field Name="ows_ContentTypeId">0x0120D5200084FC073EAB8A6549B4C579572554083100155A307745F4FC4B970F9714E551A017</Field>
<Field Name="Title">{Document Set Name}</Field>
</Method>
</Batch>
</m:updates>
</m:UpdateListItems>
</soap:Body>
</soap:Envelope>
Instead of a document set, what gets created is a "000 File" with the naming standard of "ID_.000". I also see that the ows_ContentType gets reset to "Resident Document".
Please help!