I am loading a record in SOA and saving it straight away .. without modifying any fields, but get the following error:
"The supplied value, '' is not defined in in the Contact Management system and is invalid"
That error message is verbatim, including the "in in".
I am simplifying the issue here, we were orignially trying to set field values, but decided to make it a simple as possible.
What are the required values in SOA? ie What fields could it be looking for and not finding a value?
Code used is below:
EntityManager entityManager = new EntityManager(new Uri("https://appserver/iMIS15"), "MANAGER", "manager",
EndpointType.Soap11);
MembershipManager membershipManager = new MembershipManager(entityManager);
PartyData party = membershipManager.FindPartyById("160");
ValidateResultsData success = membershipManager.UpdateParty(party);
rgrds
Stuart
I was able to run that code
I was able to run that code successfully on my local box. Obviously my party id 160 is different from yours. I'd encourage you to examine the returned party and see what is in there.
SOA is really just a translation layer over implementations. As such, that error message isn't actually in any SOA code, but in the iBO.Net code that SOA uses in iMIS 15.x to actually do the dirty work.
My guess is that the Party contains a lot of detail about the specified user (like event or commerce information?) beyond just the contact information, and that the issue lies there. The "required fields" will vary greatly depending on what data is present, and how your system/database is configured.