WS-Transfer Sample Guide
INTRODUCTION
This samples demonstrates how to enable a WS-Transfer (xfer) support for an
arbitrary service.
HOW TO BUILD THE SAMPLE
The xfer-sample is located in the samples directory which is in the WSO2WSAS
root directory.
Prerequisites
To build the samples you need the Apache Ant build tool
Follow these steps:
- Start the WSO2WSAS server
- Switch to the xfer-sample directory
e.g. cd C:\wso2wsas-2.1\samples\xfer-sample
- Type ant and press enter
e.g. C:\wso2wsas-x.x\samples\xfer-sample>ant
HOW TO CONFIGURE SERVICES
To enable WS-Transfer support for samples services, follow the following
steps
- Log in
- Click on the Services link in the Manage section on the left hand
side panel.
You will see CustomerService service has been already deployed.- Click on the CustomerService link
- Clink on the Manage Module Engagement link
- Select wso2xfer from the drop down list and click the engage button
RUNNING THE CLIENT
- Switch to xfer sample directory
- Run run-client.bat (or run-client.sh if you are in Linux)
- The results will be printed to the console.