cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

Call Web Service - Failed to invoke web service

Hi, I'm having an issue with the Call Web Service - _vti_bin/usergroup.asmx

<?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/directory/">
  <soap:Header>
  </soap:Header>
  <soap:Body>
    <m:AddGroup>
      <m:groupName>test</m:groupName>
      <m:ownerIdentifier>farmaccount</m:ownerIdentifier>
      <m:ownerType>
      </m:ownerType>
      <m:defaultUserLoginName>
      </m:defaultUserLoginName>
      <m:description>
      </m:description>
    </m:AddGroup>
  </soap:Body>
</soap:Envelope>

If I test the connection, this succeeds

If I run this from within the workflow it fails, but I have read that this is common

When I publish and run the workflow, it errors with the following:

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.

I'm seeing various posts around similar errors but so far am unable to resolve. I'm looking for any tips around this

Are all of those fields in the first screenshot required? there isn't too much help around this.

thanks

Carl

Labels: (1)
0 Kudos
Reply
1 Reply
Highlighted
Automation Master
Automation Master

Re: Call Web Service - Failed to invoke web service

check webservice method specification UserGroup.AddGroup Method (Users and Groups) 

none of the parameter is marked as optional, so you have to provide values for all of them.

user accounts are required in form domain\loginname (or even if not documented I would say claim|domain\loginname)

0 Kudos
Reply