You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Torch <nw...@yahoo.com> on 2007/03/29 08:49:05 UTC

Axis2 Web Service

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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org