Required fields in SOA

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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

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.

 

Yes that code works for me

Yes that code works for me in the demo database too. But on the client's database it fails. I can't see anything obviously wrong with the records in the database (it isn't working for any record), so it may be a general config issue but I have no idea what it could be.

The default web sign-up member type is configured.