S
srajan
Hi,
I have a webservice that provides access to multiple object instances.
Now from client I want to channel the calls to specific objects. I
could think of 2 options
1. The url for the service could take in the objectId, some identifier
that identifies the object uniquely
e.g. MyServiceInst.Url = "http://MyServer/MyService?objId=2"
MyServiceInst.foo(arg1, arg2);
2. Add objectId argument for each method call in the service
e.g. MyServiceInst.foo(objectId, arg1, arg2);
I am wondering if there are any other options that I could use in this
context.
Thanks
I have a webservice that provides access to multiple object instances.
Now from client I want to channel the calls to specific objects. I
could think of 2 options
1. The url for the service could take in the objectId, some identifier
that identifies the object uniquely
e.g. MyServiceInst.Url = "http://MyServer/MyService?objId=2"
MyServiceInst.foo(arg1, arg2);
2. Add objectId argument for each method call in the service
e.g. MyServiceInst.foo(objectId, arg1, arg2);
I am wondering if there are any other options that I could use in this
context.
Thanks