Axis2 Web Service

2007-03-28 Thread Torch

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]



Connnect one service to another service

2007-01-30 Thread Torch

I am currently using Axis2.  I have successfully managed to deploy my
services on Tomcat but I am unsure how to connect from one service to
another.

At  the moment I can connect from a client to a web service (client --
service) but I wish to take this one step further (client -- service --
service).

If anyone can provide help on the matter that would be much appreciated.

Torch. 
-- 
View this message in context: 
http://www.nabble.com/Connnect-one-service-to-another-service-tf3146826.html#a8723667
Sent from the Axis - User mailing list archive at Nabble.com.


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