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 .
To build the sample service, go to samples directory and type: ant This will build the calculator-jaxws-sample.jar in the target directory and copy it to the <WSAS_HOME>/repository/servicejars directory. If you start WSAS, the deployed JAXWS service will be available online as Calculator.CalculatorSOAP. The WSDL for this service should be viewable at: http://<host>:<port>/services/Calculator.CalculatorSOAP?wsdl
To run the sample client for the service, go to samples directory and type:
ant run-client
Otherwise, you can use WSAS features to generate the client stubs pointing to the wsdl and invoke the service with the generated client.