L.8.1 Test this service using the Java Command-line test program

To test this service using the Java command-line test program, follow these steps:

  1. Create the required JSON and populate the appropriate parameters. Save it in a file (Request.JSON).
  2. Open Command Line and navigate to the location of the JSON files.
  3. Run the command mentioning the relevant web service and the JSON file.

    Example: java -jar PricingClient.jar request.json <RESTFUL_URL> userId password

Note:

This is a secured service and needs a valid FTP UserID and password to be passed in the command-line. The passed user id must have the FTP Process Execution function assigned with the mapped role.