Sample SOAP request to add a service to users via TEWS
search cancel

Sample SOAP request to add a service to users via TEWS

book

Article ID: 46892

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Risk Analytics CA Secure Cloud SaaS - Arcot A-OK (WebFort) CLOUDMINDER ADVANCED AUTHENTICATION CA Secure Cloud SaaS - Advanced Authentication CA Secure Cloud SaaS - Identity Management CA Secure Cloud SaaS - Single Sign On

Issue/Introduction

The following sample SOAP request shows how a service request can be submitted for a user via TEWS. 

Environment

Release:
Component: IDMGR

Resolution

Execute the following request in SOAP UI, using credentials and values appropriate to your environment:
 
<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>
 

Additional Information

The SOAP response will be the transaction ID number, for example:
 
<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>3b27c662-2331f63f-0ec8da29-9e6eeb</transactionId>
      </ImsStatus>
   </soapenv:Body>
</soapenv:Envelope>