blob: c335050985e8f9d733cb0f22c389b28e47226f55 [file] [log] [blame]
Axis2 Quick Start Guide- Sample 1
This sample contains source code for the xdocs/1_1/quickstartguide.html document found in
the extracted Axis2 Documents Distribution. For a more detailed description on the
source code kindly see this 'Axis2 Quick Start Guide' document.
In this sample, we are deploying a POJO after writing a services.xml and
creating an aar. We also test the getPrice and update methods using a browser.
Apache Ant 1.6.2 or later
Building the Service
Type "ant generate.service" or just "ant" from Axis2_HOME/samples/quickstart directory
and then deploy the Axis2_HOME/samples/quickstart/build/StockQuoteService.aar
Generate WSDL
Type "ant generate.wsdl" from Axis2_HOME/samples/quickstart directory which generates a
WSDL file for the above Web service and it will be placed in Axis2_HOME/samples/quickstart/build
Running the Client
- From your browser, If you point to the following URL:
You will get the following response:
- If you invoke the update method like so:
And then execute the first getPrice url. You can see that the price got updated.
Please contact axis-user list ( if you have any trouble running the sample.