Topic by albert hua
Hi there,
We are upgrading the RightNow environment and it comes with a updated SOAP web service. It is breaking one of our Java application which is used to create/update Contact in RN. The error I'm getting is:
RN Integration RequestErrorFault: Cannot update non-existing object - action does not refer to an existing list entry While processing Contact->Phones(rno_v1_4::PhoneList)->PhoneList(rno_v1_4::Phone[])->action(rnb_v1_4::ActionEnum)
The code I'm using to set the phone is:
//build a PhoneList and set it to the Contact
PhoneList phoneList = new PhoneList();
Phone[] phoneArray = new Phone[1];
phoneArray[0] = new Phone();
phoneArray[0].setAction(ActionEnum.add);
phoneArray[0].setNumber("12345678");
phoneArray[0].setPhoneType(super.getObjectProfile(1)); //for mobile column
phoneList.setPhoneList(phoneArray);
newContact.setPhones(phoneList);
Upgraded SOAP WS is at: http://murdoch.custhelp.com/services/soap/connect/soap?wsdl
Any idea or suggestion is appreciated!
Many thanks
Albert