TEWS - How to submit TEWS request to set multi-value attribute
search cancel

TEWS - How to submit TEWS request to set multi-value attribute

book

Article ID: 261905

calendar_today

Updated On:

Products

CA Identity Suite CA Identity Manager

Issue/Introduction

How to submit TEWS request to set multi-value attribute

Environment

All Identity Manager

Resolution

The delimiter is a pipe character so the below example would set %STRING_00% to have the values of one and two.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Body>
<admin_id
xmlns="http://tews6/xsd/types">imadmin</admin_id>
<admin_password xmlns="http://tews6/xsd/types">password</admin_password> 
      <ModifyUser xmlns="http://tews6/xsd/ModifyUser">
         <ns1:ModifyUserSearch xmlns:ns1="http://tews6/xsd/ModifyUserSearch">
            <ns1:Filter index="0">
               <ns1:Field>%USER_ID%</ns1:Field>
               <ns1:Op>EQUALS</ns1:Op>
               <ns1:Value>account1</ns1:Value>
            </ns1:Filter>
         </ns1:ModifyUserSearch>
         <ns2:ModifyUserProfileTab xmlns:ns2="http://tews6/xsd/ModifyUserProfileTab">
            <ns2:_PCT_STRING_00_PCT_>one|two</ns2:_PCT_STRING_00_PCT_>
         </ns2:ModifyUserProfileTab>
      </ModifyUser>
   </soapenv:Body>
</soapenv:Envelope>

Additional Information

https://techdocs.broadcom.com/us/en/symantec-security-software/identity-security/identity-manager/14-4/programming/programming-guide-for-java/task-execution-web-service/soap-messages.html