Sample SOAP requests to create a Provisioning Role via TEWS

Document ID : KB000041309
Last Modified Date : 12/09/2018
Show Technical Document Details
Introduction:
For bulk / automated way of creating Provisioning Roles, TEWS can be used
 
 
 
 
Instructions:
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>