Guest_imported
New member
- Jan 1, 1970
- 0
Hi,
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? 0 or 2
Client3 : service.myGetB(); ---> what will return? 0 or 2
Is this member variables shared between all Clients that have an instance of webservice and use with proxy?!
Regards,
Amin.
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? 0 or 2
Client3 : service.myGetB(); ---> what will return? 0 or 2
Is this member variables shared between all Clients that have an instance of webservice and use with proxy?!
Regards,
Amin.