Webservice concept


please take a look at this scenario :

in a webservice :

public static int A=0;
public int B=0;

in mySet webmethod : A = 2; B = 2;

in myGetA webmethod : return A;
in myGetB webmethod : return B;


Client1 : service.mySet();
Client2 : service.myGetA(); ---> what will return?
Client3 : service.myGetB(); ---> what will return?

Is this member variables shared between all Clients that have an instance of webservice and use with proxy?!


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!