Skip to content
Gandhimathy Srinivasan edited this page Apr 13, 2018 · 4 revisions

``

Sample application - for MFT REST service.

How to use it ?

  1. install golanguage https://golang.org/doc/install
  2. set the environment variable "GOPATH" till the application is downloaded. eg.) _ set GOPATH=C:\Users\IBM_ADMIN\goWorkspace_
  3. build the application go build mftRESTsampleApplication.go The above command will generate an executable by name mftRESTsampleApplication.exe
  4. All set to work with the sample application in go.

Options: The above executable will accepts hostName, portNumber and the serviceName (agent/transfer) as input arguments.

Example: 1.) Execute the command with default value mftRESTSampleApplication.exe

2.) Execute the command by passing values mftRESTsampleApplication.exe -host 9.23.34.45 -port 8989 -service transfer

3.) Execute the command by passing just required values _ mftRESTsampleApplication.exe -service transfer_

Clone this wiki locally