I can't change a value, for a web service using an axiom client!

Posted by adrian7 on Stack Overflow See other posts from Stack Overflow or by adrian7
Published on 2010-06-06T10:24:02Z Indexed on 2010/06/06 10:32 UTC
Read the original article Hit count: 205

Filed under:
|
|
|
|

Hi.I just started learning about web serices. I succesfuly installed Tomcat, and deployed axis2 on it. I followed the tutorial from here http://ws.apache.org/axis2/1_1_1/quickstartguide.html . I made the StockQuoteService web service, moved the .aar file in the WEB-INF/services folder and tested it - it worked all fine.

Then I made a client for the servce. I took the source code of the file AXIOMClient.java from the dir described here http://ws.apache.org/axis2/1_1_1/quickstartguide.html#clientaxiom , imported the classes in Eclipse Java IDE and runned it.

I tested and the update method works from the browser when calling http://localhost:8080/axis2/services/StockQuoteService/update?symbol=WSO&price=144

But from my java client update method is not working at all, when calling getPrice I always receive 42.00.

What am I doing wrong? or, how can I trace what is happening?

© Stack Overflow or respective owner

Related posts about java

Related posts about web