SOAP - Why do I need to query for the values for an update?

Posted by Phill Pafford on Stack Overflow See other posts from Stack Overflow or by Phill Pafford
Published on 2010-03-15T12:41:59Z Indexed on 2010/03/15 12:49 UTC
Read the original article Hit count: 292

I'm taking over a project and wanted to understand if this is common practice using SOAP. The process that is currently in place I have to query all the values before I do an update cause I need to pass back all the values that are not being updated. Does this sound right?

Example Values:

fname=phill
lname=pafford
address=123 main
phone:222-555-1212

So if I just wanted to update the phone number I need to query for the record, get all the values and submit these values for an update.

Example Update Values:

fname=phill
lname=pafford
address=123 main
phone:111-555-1212

I just want to know if this is common practice or should I change the functionality of this?

© Stack Overflow or respective owner

Related posts about soap

Related posts about common