I would make 1 function, that accepts 2 parameters. The first parameter is
the ID. The second parameter is an XML document, which has all the
information about what needs to be inserted in an XML form.
You can then look through the DOM, and get the appropriate data depending on
the client.
"Mike" <mraeNOSPAM@NOSPAMATALLcalibrus.com> wrote in message
news:uKr%23$UASEHA.644@tk2msftngp13.phx.gbl...
> Here's the story.
>
> I have a large database which has a lot of columns. I am creating a web
> service for clients to use to insert information into this database. All
> the clients are the same and are identified by a unique 4 digit number.
> Depending on the client, different information must or must not be
inserted
> into the database.
>
> Here is my question.
>
> With web services which don't support funtion overloading, should I create
a
> bunch of webmethods with different names all of which accept different
> paramerters, or should I create one funtion that accepts all parameters?
> Based on the id they pass in I can check to see if they are passing in the
> right parameters.
>
> Am I just looking at this the wrong way? Is there a easier or more
> efficient way I should look at?
>
> Any help is greatly appreciated.
>
> Mike R.
>
>