AnsweredAssumed Answered

Nintex for Office 365 Web Request error

Question asked by dyermull on Apr 25, 2016
Latest reply on Jun 16, 2016 by cnorris

I'm using the Nintex Web Request Action in Office 365 to create a SharePoint group that is failing and getting a Soap error in the response code:

 

soap:ClientServer was unable to read request. ---> Request format is invalid: Missing required soap:Body element.

 

I set the Web Request up by using these instructions but modifying slightly for the AddGroup method:Getting Started 

 

The general idea is to put an item in a SharePoint list and create a SharePoint group. I've tried changing some of the parameters around, but I keep getting the same error. Maybe I'm going about this the wrong way. Any ideas?

 

The Web Request is configured as below:

 

URL: https://<SITE>/sites/DEV/_vti_bin/UserGroup.asmx

Method: SOAP 1.1, Soap action: http://schemas.microsoft.com/sharepoint/soap/directory/AddGroup

Body: (Content selected)

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

  <soap:Body>

    <AddGroup xmlns="http://schemas.microsoft.com/sharepoint/soap/directory/">

      <groupName>{Current Item:Short Name}</groupName>

      <ownerIdentifier>{Current Item:Site Owners}</ownerIdentifier>

      <ownerType>user</ownerType>

      <defaultUserLoginName>{Current Item:Site Owners}</defaultUserLoginName>

      <description>{Current Item:Short Description}</description>

    </AddGroup>

  </soap:Body>

</soap:Envelope>

Outcomes