AnsweredAssumed Answered

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

Question asked by Rahul.med on Nov 23, 2017
Latest reply on Nov 25, 2017 by Rahul.med

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>

```

Outcomes