Howdy, Stranger!

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


Webservice concept

amin_bamin_b Member Posts: 2

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?!



  • Justin BibJustin Bib USAMember Posts: 0

    ____ { } free video tutorials and ebooks about | JavaScript C Python R Scratch Ruby Visual Basic .NET Objective-C PHP Go Swift Visual Basic Java PL/SQL MATLAB Assembly Delphi C# C++ Perl Dart D Scala Transact-SQL Logo Crystal COBOL ABAP Apex FoxPro Ada Kotlin F# Prolog LabVIEW Erlang Alice Bash Julia SAS Rust Fortran Hack Lua Clojure ML VBScript Scheme Lisp Awk | __________

Sign In or Register to comment.