Hi there,

With regards to Axis2 web services, does each client get their own instance
when they execute code such as the following:

StockQuoteServiceStub stub =
                new StockQuoteServiceStub
                ("http://localhost:8080/axis2/services/StockQuoteService";);

In my case all the clients seem to be using just the one instance.  This is
bad because if one client changes the value of a variable in the web
service, then all the other clients see that changes as well.  Is there any
way I can avoid this?

Also, say if my web service was not local, but on another machine in my
network.  How do I access it?
I tried: StockQuoteServiceStub stub =
                new StockQuoteServiceStub
               
("http://130.216.23.45:8080/axis2/services/StockQuoteService";);

However it didnt work.  Any help would be much appreciated.

-- 
View this message in context: 
http://www.nabble.com/Axis2-Web-Service-tf3484692.html#a9727904
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to