Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

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="" xmlns:soap="" xmlns:m="">
      <mSmiley SurprisedwnerIdentifier>farmaccount</mSmiley SurprisedwnerIdentifier>
      <mSmiley SurprisedwnerType>
      </mSmiley SurprisedwnerType>

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=""><faultcode>soapSmiley Frustratederver</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.



Labels: (1)
0 Kudos
1 Reply
Workflow Hero

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
Accept as Solution Reply