This is an old revision of the document!
CeRTNA Sample Web Service Toolbox Project
CeRTNA has uploaded a sample Visual Studio 2015 C# project entitled Web Service Toolbox that provides a high-level demonstration of how to call the CeRTNA web services that are sending and retrieving payloads and checking a transaction status.
Disclaimer: This sample project is provided as is for reference purposes only. It is not intended to represent production quality code.
The application demonstrates functions like:
- Logging in to obtain a soft-token for use with the various web services.
- Obtaining a list of payloads that reside in a remote folder (repository).
- Locking, unlocking, and deleting a payload from a remote folder (repository).
- Sending/Retrieving payloads to/from remote folders.
- Getting a transaction status and transaction history.
The project can be downloaded by clicking this link: (Web Service Toolbox)
The Web ServiceToolbox project uses the following NuGet packages, which you will need to install into your Visual Studio setup, if you do not already have them installed:
- Newtonsoft.Json
- RestSharp
The project uses the Windows Presentation Foundation (WPF) classes for the UI.
Following is a brief outline of how to use the tool:
After starting the tool, the following UI will be displayed:
Note: For all of the functions described below, your web service userid and password are required.