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 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

  1. Login to Application Server Management Console

...

  1. .
    For more information on how to obtain, install and login/browse the AS Management Console

...

  1. ,see the  Getting Started Guide. 
  2. On the Main menu, under Services, click List.
    The Deployed Services appear. 
    You will see CustomerService already deployed. 
  3. Click on

...

  1. the CustomerService.
    The service's

...

  1. dashboard appears.

...

  1. Click on the

...

  1. Module link in the

...

  1. QOS

...

  1. panel of the dashboard.

...

  1. Select wso2xfer from the drop-down list

...

  1. .
  2. Click Engage.

Running the

...

client

...

  1. Switch to <AS_HOME>\Samples\Xfer directory in the terminal.

...

  1. Run the client

...

  1. using one of the following commands:

    OSCommand
    On Windows
    run-client.bat

...

  1. On Linux/Solaris
    sh run-client.sh

...

  1. The results will be printed to the console.