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 WSO2WSAS root directory.

Prerequisites

To build the samples you need the Apache Ant build tool

Follow these steps:

  1. Start the WSO2WSAS server
  2. Switch to the xfer directory
  3. e.g. cd C:\wso2wsas-2.1\samples\xfer
  4. Type ant and press enter
  5. e.g. C:\wso2wsas-x.x\samples\Xfer>ant

HOW TO CONFIGURE SERVICES

To enable WS-Transfer support for samples services, follow the following steps
  1. Log in to WSAS Console
  2. Click on the List link in the Manage\services section on the left hand side panel.
  3. You will see CustomerService service has been already deployed.
  4. Click on the CustomerService link in deployed services table(in Service Groups)
  5. Clink on the Module link in service management page.
  6. Select wso2xfer from the drop down list and click the engage button

RUNNING THE CLIENT

  1. Switch to xfer sample directory in terminal
  2. Run run-client.bat (or run-client.sh if you are in Linux)
  3. The results will be printed to the console.