AnsweredAssumed Answered

TEWS Service revocation

Question asked by hapagola on Jul 25, 2018
Latest reply on Jul 27, 2018 by hapagola
Hi,
We're trying to revoke a user Service via tews web service.
We're using as an example, the following tech note:

 Document ID : KB000046892
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://tews6/wsdl">
  <soapenv:Header/>
  <soapenv:Body>
  <wsdl:TaskContext>
   <admin_id>imadmin</admin_id>
   <admin_password>password</admin_password>
  </wsdl:TaskContext>
  <wsdl:ManageAccessRequestMembership>
   <wsdl:ManageAccessRequestMembershipSearch>
    <wsdl:Filter index="0">
     <wsdl:Field>%FRIENDLY_NAME%</wsdl:Field>
     <wsdl:Op>EQUALS</wsdl:Op>
     <wsdl:Value>TestService01</wsdl:Value>
    </wsdl:Filter>
   </wsdl:ManageAccessRequestMembershipSearch>
   <wsdl:ManageAccessRequestMembershipUserServiceTab>
    <wsdl:ObjectList>
     <wsdl:add index="0">
      <wsdl:FriendlyName>pxtest01</wsdl:FriendlyName>
     </wsdl:add>
    </wsdl:ObjectList>
   </wsdl:ManageAccessRequestMembershipUserServiceTab>
  </wsdl:ManageAccessRequestMembership>
  </soapenv:Body>
</soapenv:Envelope>
We tested the add action, and it worked fine (a user is added to the service)
Then we changed the add
 <wsdl:add index="0">
  <wsdl:FriendlyName>pxtest01</wsdl:FriendlyName>
</wsdl:add>

to remove

 <wsdl:remove index="0">
  <wsdl:FriendlyName>pxtest01</wsdl:FriendlyName>
</wsdl:remove>

 

We tested it with soapui application, and the result was:
 <soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://tews6/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <ImsStatus version="6.0">
    <transactionId>a79g68f1-011e9f31-1cf7716e-r543c3</transactionId>
    </ImsStatus>
    </soapenv:Body>
</soapenv:Envelope>
Then when we check in Identity Manager -> View Submitted Tasks
We search by "Task ID", using the "transactionId" returned in soapui, and there is no results.
But, if we check "Show unsubmitted tasks" as a parameter of the search, an empty action can be seen (Task status: Audited).
No action is performed.
Question:
- Is there any other parameter necessary to revoke a Service to the user?
- How can we perform a Service revocation using tews - web service?
Kind regards

Outcomes