Reputation: 229
i have an asp.net / c# web application and i was given a webservice that gives me all the info about a client. all i got to do is call the method and pass the client id and i get all his info. i wanted to get a list of all clients using that same method but if i dont pass a id it gives me an error. do you guys know of any way to do this?
i call it like this:
webservice.method(id);
i tried to do it like this:
webservice.method();
but it gives me an error
Upvotes: 0
Views: 438
Reputation: 5689
The web service would have to be designed to allow the method to be called without any parameters. It doesn't happen automatically. Talk to the publisher of the web service to possibly get support for this.
Upvotes: 2