Sample SOAP requests to create a Provisioning Role via TEWS
search cancel

Sample SOAP requests to create a Provisioning Role via TEWS

book

Article ID: 41309

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

For bulk / automated way of creating Provisioning Roles, TEWS can be used
 
 
 
 


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>
<wsdl:admin_id>imadmin</wsdl:admin_id>
<wsdl:admin_password>test</wsdl:admin_password>
</wsdl:TaskContext>
<wsdl:CreateProvisioningRole>
<wsdl:CreateProvisioningRoleSearch>
<wsdl:CreateNew>true</wsdl:CreateNew>
</wsdl:CreateProvisioningRoleSearch>
<wsdl:CreateProvisioningRoleProfileTab>
<wsdl:Name>test_prov6</wsdl:Name>
</wsdl:CreateProvisioningRoleProfileTab>

<wsdl:CreateProvisioningRoleOwnersTab>
<wsdl:Policy>
<wsdl:add index="0">
<wsdl:Owner>
<![CDATA[<MemberRule><AttributeExpression attribute="%USER_ID%" comparator="EQUALS" value="imadmin"/></MemberRule>]]>
</wsdl:Owner>
</wsdl:add>
</wsdl:Policy>
</wsdl:CreateProvisioningRoleOwnersTab>
</wsdl:CreateProvisioningRole>
</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>fd5f53e2-8f98351f-b921810e-0e85d8</transactionId>
      </ImsStatus>
   </soapenv:Body>
</soapenv:Envelope>