This sample demonstrates how to enable WS-Transfer (xfer) support for a service.
Building the sample
The xfer-sample
is located in <AS_HOME>\Samples\Xfer
directory.
For more information, see Building Axis2 Samples.
Configuring services
- Login to Application Server Management Console.
For more information on how to obtain, install and login/browse the AS Management Console, see the Getting Started Guide. - On the Main menu, under Services, click List.
The Deployed Services will appear. You will see CustomerService already deployed. - Click on the CustomerService.
The service's Dashboard will appear. - Click on the Module link in the QOS panel of the dashboard.
- Select wso2xfer from the drop down list.
- Click Engage.
Running the client
- Switch to
<AS_HOME>\Samples\Xfer
directory in the terminal. Run the client using one of the following commands:
OS Command On Windows run-client.bat
On Linux/Solaris sh run-client.sh
The results will be printed to the console.