This content has been marked as final. Show 4 replies
It seems from your log,
1. Your java code is not able to create the user in target.
2. Ideally a string value should return from the adapter (you can return any thing) for create user for a building connector. This string is response code.
3. If you are returning uid : map return value to a filed lable of same type (integer to integer or String to String).
Hi Kuldeep ,
thanks for your update , the application user is getting created correctly , its just the response code mapping I am struggling with .
public Uid create(ObjectClass objectClass, Set<Attribute> attrSet,OperationOptions operationOptions) , so the create method of the ICF connector framwork only returns a response of type UID , so we need to return something of type uid .
Create will return the following response codes:
Response | Status
SUCCESS | C
CONFIGURATION_ERROR | R
CONNECTION_FAILED | R
UNKNOWN_UID | R
OBJECT_ALREADY_EXISTS | R
CONNECTOR_EXCEPTION | R
ERROR | R
VALIDATION_FAILED | R
The code returning the UID value at the end of the ICF create Operation on SPI side
So you need to map the UID to the field in the process Form
Create a field like ReturnID in the process form and map this filed to the __UID__ in the provisioning attribute lookup
Then ur code will work and u will get success response back if every thng fine in spi side
Edited by: Nagaraju Chowdary on Feb 7, 2013 12:54 AM