search cancel

TEWS SOAP Sample: How to create Account Template using "copy of" option

book

Article ID: 17943

calendar_today

Updated On:

Products

CA Directory 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 CA Security Command Center CA Data Protection (DataMinder) CA User Activity Reporting

Issue/Introduction

Description:

This is demonstration sample TEWS soap xml showing Create Account template as "copy of" an existing one.

Solution:

Here is an XML sample of Soap Request for TEWS:


 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://tews6/wsdl">
     <soapenv:Header/>
     <soapenv:Body>

   <wsdl:TaskContext>
    <wsdl:admin_id>superadmin</wsdl:admin_id>
    <wsdl:admin_password>secret</wsdl:admin_password>
   </wsdl:TaskContext>	
   
   <wsdl:CreateActiveDirectoryAccountTemplate>
     <wsdl:CreateActiveDirectoryAccountTemplateSearch>
      <wsdl:CreateCopy>true</wsdl:CreateCopy>
      
<wsdl:Subject>
<wsdl:UniqueName>Policy=MyADSAccountPolicy,Namespace=ActiveDirectory,Domain=MyIMDomain,     
 Server=Server</wsdl:UniqueName>
</wsdl:Subject>

</wsdl:CreateActiveDirectoryAccountTemplateSearch>

<wsdl:CreateActiveDirectoryAccountTemplateActiveDirectoryAccountTemplateAccountTemplateTab>
<wsdl:_PCT_ACCOUNT_TEMPLATE_NAME_PCT_> MyNewADSAccountPolicy </wsdl:_PCT_ACCOUNT_TEMPLATE_NAME_PCT_>
</wsdl:CreateActiveDirectoryAccountTemplateActiveDirectoryAccountTemplateAccountTemplateTab>
</wsdl:CreateActiveDirectoryAccountTemplate>

</soapenv:Body>
</soapenv:Envelope> 

In this sample; You need to change the following values by yours:

"MyADSAccountPolicy" is your original account template name you want to copy.
"MyIMDomain" is your IM domain name.
"MyNewADSAccountPolicy" is your account template you want to create.

Environment

Release: CAPUEL99000-12.5-Identity Manager-Blended upgrade to Identity &-Access Mgmt Ente
Component: