Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

This sample demonstrates how to enable WS-Transfer (xfer) support for a service. 

Building the sample

The xfer-sample is located in in <AS_HOME>\Samples\Xfer directory.

For more information, see Building Axis2 Samples.

...

  1. 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. 
  2. On the Main menu, under Services, click List.
    The Deployed Services will appear appear
    You will see CustomerService already deployed. 
  3. Click on the CustomerService.
    The service's Dashboard will appeardashboard appears.
  4. Click on the Module link in the QOS panel of the dashboard.
  5. Select wso2xfer from the drop-down list.
  6. Click Engage.

Running the client

  1. Switch to <AS_HOME>\Samples\Xfer directory in the terminal.
  2. Run the client using one of the following commands:

    OSCommand
    On Windows
    run-client.bat
    On Linux/Solaris
    sh run-client.sh

     The results will be printed to the console.