Hi,

I have tried the following code.
I tried to updated the web service with value 300. 
Price does get changed to 300 at the server side. i have confirmed by
executing the wsdl in the browser, but somehow the client side still shows
me 42 instead of 300.

What am i missing on the client side?

Please help 

thanks,

Code:

public static void main(String[] args) {
                StockQuoteService service1 = new StockQuoteService();
                StockQuoteServicePortType port1 =
service1.getStockQuoteServiceSOAP11PortHttp();

                System.out.println("Server said: " + port1.getPrice("IBM"));
                
                port1.update("IBM", new Double("300"));
               
                System.out.println("Server said: " + port1.getPrice("IBM"));
}

Result is:

Server said: 42.0
Server said: 42.0
-- 
View this message in context: 
http://www.nabble.com/Not-able-update-price-on-StockQuote-example-tp25263221p25263221.html
Sent from the Axis - User mailing list archive at Nabble.com.

Reply via email to