Table of Contents |
---|
This sample demonstrates how to enable WS-Transfer (xfer) support for a service.
Building the sample
The xfer-sample
is located inin <AS_HOME>\Samples\Xfer
directory.
Building the Sample
To build the samples you need Apache Ant build tool.
The steps are as follows:
...
2. In a command prompt, switch to the sample directory.
For example, in Wndows, cd <AS_HOME>\samples\Xfer
3. From there, type ant .
Configuring Services
1. 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 appear. You will see CustomerService already deployed. - Click on
...
- the CustomerService.
The service's
...
- dashboard appears.
...
- 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.