Resubmit event by event ID by invoking TEWS call is not resubmitting event

book

Article ID: 185665

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Identity Suite

Issue/Introduction

When I tried resubmitting failed event using TEWS SAOP call by providing event ID, its submitting soap call and returning the transaction ID but when I got check the event in task, that event was not resubmitted, But when I resubmit the event from UI button on VST, Its resubmitting. Also I am able to resubmit the whole task by providing TaskID using SOAP TEWS call.

Below is the SOAP request body:

<?xml version='1.0' encoding='UTF-8'?>

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

    <soapenv:Header>


        <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">

            <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="UsernameToken-31571602">

                <wsse:Username>username</wsse:Username>

                <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">passwordhere</wsse:Password>

            </wsse:UsernameToken>

        </wsse:Security>


        <wsdl:ResubmitTasksTaskContext xmlns:wsdl="http://tews6/wsdl" 

            xmlns:mustUnderstand="http://schemas.xmlsoap.org/soap/envelope/" mustUnderstand:mustUnderstand="0">

            <wsdl:admin_id>adminuser</wsdl:admin_id>

        </wsdl:ResubmitTasksTaskContext>

    </soapenv:Header>

    <soapenv:Body>

        <wsdl:ResubmitTasks xmlns:wsdl="http://tews6/wsdl">

            <wsdl:ResubmitTasksResubmitTasksTab>

                <wsdl:MultipleEvents>


                    <wsdl:ResubmitEvents>true</wsdl:ResubmitEvents>

                    <wsdl:EventIds>

                        <wsdl:currentvalue index="0">

                            <wsdl:EventId>1fae9181-0a3b0453-01665284-7eae9c9c</wsdl:EventId>

                        </wsdl:currentvalue>

                    </wsdl:EventIds>

                </wsdl:MultipleEvents>

            </wsdl:ResubmitTasksResubmitTasksTab>

        </wsdl:ResubmitTasks>

    </soapenv:Body>

</soapenv:Envelope>

Environment

Release : 14.1

Component : CA IDENTITY SUITE (VIRTUAL APPLIANCE)

Resolution

This has been updated in 14.1:
https://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/resubmit-tasks-and-events-with-tews.html#concept.dita_7e93acdfdf58800d64e29f3330e5a806826ffe5c_ResubmitaSingletonEvent

<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>test</wsdl:admin_password>
      </wsdl:TaskContext>
      <wsdl:ResubmitTasks>
         <!--Optional:-->
         <wsdl:ResubmitTasksResubmitTasksTab>
           
            <wsdl:EventDetails>
               <wsdl:EventId>658aebcc-0a971b7d-74be5bc7-2fc3951d</wsdl:EventId>
               <wsdl:ResubmitEvent>true</wsdl:ResubmitEvent>
            </wsdl:EventDetails>
          
         </wsdl:ResubmitTasksResubmitTasksTab>
      </wsdl:ResubmitTasks>
   </soapenv:Body>
</soapenv:Envelope>