Introduction

This is an example JAXWS Web service. It shows how to expose the methods of a class as a JAXWS Web service using WSO2 Web Service Application Server @wsas_version@.

Building the Service

To build the sample service, go to samples directory and type: ant This will build the jaxws-calculator.aar in the target directory and copy it to the <WSAS_HOME>/repository/services directory. If you start WSAS, the jaxws-calculator-service will be available online. The WSDL for this service should be viewable at: http://<host>:<port>/services/CalculatorService?wsdl

Running the Client

To run the sample client for the service, go to samples directory and type: ant run-client Or elase you can use WSAS features to generate the client stubs pointing to the wsdl and invoke the service with that Or invoke the service with Try-It