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-sample directory
  3. e.g. cd C:\wso2wsas-2.1\samples\xfer-sample
  4. Type ant and press enter
  5. e.g. C:\wso2wsas-x.x\samples\xfer-sample>ant

HOW TO CONFIGURE SERVICES

To enable WS-Transfer support for samples services, follow the following steps
  1. Log in
  2. Click on the Services link in the Manage section on the left hand side panel.
  3. You will see CustomerService service has been already deployed.
  4. Click on the CustomerService link
  5. Clink on the Manage Module Engagement link
  6. Select wso2xfer from the drop down list and click the engage button

RUNNING THE CLIENT

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