Symantec IGA

Expand all | Collapse all

TEWS task exec error: Too many objects returned by search for task: Create Use

  • 1.  TEWS task exec error: Too many objects returned by search for task: Create Use

    Posted Nov 23, 2017 04:23 PM

    Hello Experts,

     I am trying to setup an environment and testing create user scenario. The create user is successful when creating through CA IDM Admin UI. But when I try to create through SOAP UI with TEWS , I am getting the following error. I dont see any logs are getting updated and seeing anything on the CA IDM View Submitted Task. Do you have any idea about this error?

     

     

    ```

    <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:tews="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>
          <soapenv:Fault>
             <faultcode>soapenv:Server</faultcode>
             <faultstring>Unknown processing error.</faultstring>
             <detail>
                <tews:ImsException version="6.0">
                   <tews:exception>
                      <tews:name>com.netegrity.ims.exception.IMSException</tews:name>
                      <tews:code>700</tews:code>
                      <tews:description>TEWS task exec error: Too many objects returned by search for task: Create User</tews:description>
                      <tews:transaction>2bd0ff57-2c8e19e4-087ee352-cf67d</tews:transaction>
                   </tews:exception>
                </tews:ImsException>
             </detail>
          </soapenv:Fault>
       </soapenv:Body>
    </soapenv:Envelope>

    ```

     

    Create user XML is :

     

    ```

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://tews6/wsdl">
       <soapenv:Header/>
       <soapenv:Body>
          
          <wsdl:CreateUser>
           
             <wsdl:CreateUserProfileTab>
                
                <wsdl:_PCT_ORG_MEMBERSHIP_PCT_>ou=Customers,ou=Users,dc=abc,dc=com</wsdl:_PCT_ORG_MEMBERSHIP_PCT_>
                <wsdl:_PCT_USER_ID_PCT_>danni</wsdl:_PCT_USER_ID_PCT_>
               
                <wsdl:_PCT_PASSWORD_PCT_>abc123</wsdl:_PCT_PASSWORD_PCT_>
                
                <wsdl:_BAR_passwordConfirm_BAR_>abc123</wsdl:_BAR_passwordConfirm_BAR_>          
                <wsdl:_PCT_FIRST_NAME_PCT_>Dan</wsdl:_PCT_FIRST_NAME_PCT_>
                <wsdl:_PCT_LAST_NAME_PCT_>Targ</wsdl:_PCT_LAST_NAME_PCT_>
                
                <wsdl:_PCT_FULL_NAME_PCT_>Dan Targ</wsdl:_PCT_FULL_NAME_PCT_>
                
                <wsdl:_PCT_EMAIL_PCT_>dan.targ@ymail.com</wsdl:_PCT_EMAIL_PCT_>
                
             </wsdl:CreateUserProfileTab>
            
          </wsdl:CreateUser>
       </soapenv:Body>
    </soapenv:Envelope>

    ```



  • 2.  Re: TEWS task exec error: Too many objects returned by search for task: Create Use
    Best Answer

    Broadcom Employee
    Posted Nov 24, 2017 03:24 AM

    Hi Rahul,

     

    Just add the following block before your <wsdl:CreateUserProfileTab> section:

     

    <wsdl:CreateUserSearch>
    <wsdl:CreateNew>true</wsdl:CreateNew>
    </wsdl:CreateUserSearch>

     

    In future also have a look at our XML soap request samples.

    e.g.: IAM Suite\Identity Manager\tools\samples\WebService\Xml\CreateUserRequest.xml

     

    Regards,

    Philippe.



  • 3.  Re: TEWS task exec error: Too many objects returned by search for task: Create Use

    Posted Nov 25, 2017 12:50 AM

    Thank you very much. It worked ..