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 WSO2AppServer
root directory.
Prerequisites
To build the samples you need the Apache Ant build tool
Follow these steps:
- Start the WSO2AppServer server
- Switch to the xfer directory
e.g. In MS Windows cd C:\wso2appserver-x.x.x\samples\Xfer or in
Linux cd wso2appserver-x.x.x/samples/Xfer
- Type ant and press enter
e.g. C:\wso2appserver-x.x\samples\Xfer>ant or wso2appserver-x.x.x/samples/Xfer$ ant
HOW TO CONFIGURE SERVICES
To enable WS-Transfer support for samples services, follow the following
steps
- Log in to AppServer Console
- Click on the List link in the Manage\services section on the left hand
side panel.
You will see CustomerService service has been already deployed.
- Click on the CustomerService link in deployed services table(in Service Groups)
- Click on the Module link in service management page.
- Select wso2xfer from the drop down list and click the engage button
RUNNING THE CLIENT
- Switch to xfer sample directory in terminal
- Run run-client.bat (or run-client.sh if you are in Linux)
- The results will be printed to the console.