Documentation

##### WSO2 WSAS 2.2-RC1

- Release Notes
- Contents
- Home

##### Downloads

- Releases

##### Documentation

- User Guide
- FAQs
- Installation Guide
- Source
- Running Behind a Proxy
- Data Services Guide
  - RDBMS Data Source
  - CSV Data Source
  - Excel Data Source
  - JNDI Data Source
- EJB Guide
- Clustering Guide
- JMX Guide
- XKMS Guide
- Changing Keys

##### Samples

- Chad
- Commodity Quote
- Data Services
- Flickr
- Javascript
- Jaxws
- JiBX
- Mtom
- STS
- Trader
- Tiny URL
- Metadata Exchange
- WS-Transfer
- XML Key Managment Specification
- Cluster Management

##### API Documentation

- Java Docs

##### Tools

- Code Generation
- Change Password
- Eclipse IDE Integration
- TCP Monitor
- WSDL2Code
- WSDL View
- Try It
- AAR Validation
- MAR Validation

##### Resources

- News

##### Get Involved

- Mailing Lists
- Integration

##### Project Information

- Project Team
- Issue Tracking
- License

# 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