Error 700 when call TEWS

book

Article ID: 126748

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal

Issue/Introduction

The Admin Task is working fine, but from SOAP request running the same Admin Task, the result request is an error 700

      <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring>Unknown processing error.</faultstring>
         <detail>
            <tews:ImsException version="6.0">
               <tews:exception>
                  <tews:name>com.netegrity.llsdk6.imsapi.exception.NoSuchObjectException</tews:name>
                  <tews:code>700</tews:code>
                  <tews:description>[facility=4 severity=2 reason=0 status=38 message=No items found]</tews:description>
                  <tews:transaction/>
               </tews:exception>
            </tews:ImsException>
         </detail>
      </soapenv:Fault>

Environment

Identity Manager 14.x

Resolution

Remove all lines from the SOAP request which is not being used, for example:

Original request:
      <wsdl:TaskContext>
         <!--You may enter the following 11 items in any order-->
         <!--Optional:-->
         <wsdl:admin_id>imadmin</wsdl:admin_id>
         <!--Optional:-->
         <wsdl:admin_password>[password]</wsdl:admin_password>
         <!--Optional:-->
         <wsdl:transaction_id>?</wsdl:transaction_id>
         <!--Optional:-->
         <wsdl:connection_id>?</wsdl:connection_id>
         <!--Optional:-->
         <wsdl:workitem_id>?</wsdl:workitem_id>
         <!--Optional:-->
         <wsdl:delegator_id>?</wsdl:delegator_id>
         <!--Optional:-->
         <wsdl:workitem_owner_id>?</wsdl:workitem_owner_id>
         <!--Optional:-->
         <wsdl:worklist_task_tag>?</wsdl:worklist_task_tag>
         <!--Optional:-->
         <wsdl:no_namespace_on_soapfaults_header>?</wsdl:no_namespace_on_soapfaults_header>
         <!--Optional:-->
         <wsdl:action>?</wsdl:action>
         <!--Optional:-->
         <wsdl:submit_action>?</wsdl:submit_action>
      </wsdl:TaskContext>


After removing all unused lines, the request will look like the example below.
     <wsdl:TaskContext>
         <!--You may enter the following 11 items in any order-->
         <!--Optional:-->
         <wsdl:admin_id>imadmin</wsdl:admin_id>
         <!--Optional:-->
         <wsdl:admin_password>[password]</wsdl:admin_password>
      </wsdl:TaskContext>