AnsweredAssumed Answered

Call Web Service - Failed to invoke web service

Question asked by carl.taute on Apr 5, 2017
Latest reply on Apr 6, 2017 by emha

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

Outcomes