Symantec IGA

 View Only
  • 1.  Setting Start/Ending date to SOAP request add delegations

    Posted Apr 06, 2020 06:53 AM
    Hello,

    I am trying to add delegations into IDM through SOAP requests.
    I have set a working soap call ( at the end of the update ) but I am not managing to set a "DelegateList_EndDate" and "DelegateList_StartDate" like it is possible when setting delegations through WEB GUI.
    I found the url below which tell us about end/start date but I simply cannot make it to work.
    I have tried to put a section named  <DelegateList_StartDate> and set the date, but it does not work.
    Please anyone have any idea on how to configure such SOAP method passing a start and end date ?

    http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-identity-and-access-management/identity-manager/14-1/programming/programming-guide-for-java/task-execution-web-service/advanced-options-for-tews-search-requests.html


    The problem is how can I all
    Got to this working call:

    <soapenv:Header>
      <wsdl:DelegateWorkitemsTaskContext>
         <wsdl:admin_id>imadmin</wsdl:admin_id>
         <wsdl:admin_password>blabla</wsdl:admin_password>
         </wsdl:DelegateWorkitemsTaskContext>
    </soapenv:Header>
    <soapenv:Body>
        <wsdl:DelegateWorkitems>
            <wsdl:DelegateWorkitemsSearch>
                 <wsdl:Subject index="?">
                     <wsdl:FriendlyName>bla.u</wsdl:FriendlyName>
                 </wsdl:Subject>
            </wsdl:DelegateWorkitemsSearch>
           <wsdl:DelegateWorkitemsDelegationTab>
               <wsdl:DelegateList>
              <wsdl:add index="?" >
                 <wsdl:UniqueName>uid=bla.bla,ou=people,ou=im,ou=ca,o=com</wsdl:UniqueName>
              </wsdl:add>
           </wsdl:DelegateList>
    </wsdl:DelegateWorkitemsDelegationTab>
    </soapenv:Body>
    </soapenv:Envelope>


  • 2.  RE: Setting Start/Ending date to SOAP request add delegations

    Posted Apr 06, 2020 08:07 AM
    Also have tried to add without sucess in the header section:

    <DelegateList_StartDate xmlns="http://tews6/wsdl">20201010</DelegateList_StartDate>

    I believe that might be the way to solve this questions, and that I need to fix the xmlns address. I was just a guess


  • 3.  RE: Setting Start/Ending date to SOAP request add delegations

    Broadcom Employee
    Posted Apr 06, 2020 09:20 PM
    Edited by Widjaja Sangtoki Apr 06, 2020 09:22 PM
    I tested in IM 14.3, the following SOAP call works normally

    <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>Password01</wsdl:admin_password>
        </wsdl:TaskContext>
        <wsdl:DelegateWorkitems>
          <wsdl:DelegateWorkitemsSearch>
            <wsdl:Filter index="0">
              <wsdl:Field>%LOGIN_ID%</wsdl:Field>
              <wsdl:Op>EQUALS</wsdl:Op>
              <wsdl:Value>wsangtoki</wsdl:Value>
            </wsdl:Filter>
          </wsdl:DelegateWorkitemsSearch>
          <wsdl:DelegateWorkitemsDelegationTab>
            <wsdl:DelegateList>
              <wsdl:add index="0">
                <wsdl:UniqueName>hsangtoki</wsdl:UniqueName>
              </wsdl:add>
            </wsdl:DelegateList>
          </wsdl:DelegateWorkitemsDelegationTab>
        </wsdl:DelegateWorkitems>
      </soapenv:Body>
    </soapenv:Envelope>

    Here is my SOAP UI


    VST shows


    I would suggest you can try SOAP XML similar to above and make sure Delegate Work Items task has Web Services enabled. If you still have the problem then it could be an issue in 14.1. Please raise a Support Call ticket to investigate further.


    ------------------------------
    Regards,
    Widjaja
    ====================
    Perhaps there are others in the communities who have experience in doing this and we invite them to comment here also.

    Another option may be to reach out to our partner HCL Technologies to see in what way they can assist further. The Enterprise Studio team of HCL can be reached at enterprisestudio@hcl.com. https://www.hcltech.com/enterprise-studio
    ------------------------------



  • 4.  RE: Setting Start/Ending date to SOAP request add delegations

    Posted Apr 07, 2020 06:11 AM
    Hello,
    Tks for the reply.
    The soap I am using is also working fine.
    The problem is that I am not managing to pass a start and ending date to the delegation.
    I have attached a link with a documentation explaining we need to add a header variable to add starting and ending date but it is not working.
    I have in many way to add that header variable but I never sets the date in the delegation.
    Thanks,
    Lincoln