Site Tools


guides:sample_web_service_project

This is an old revision of the document!


CeRTNA Sample Web Service Project

CeRTNA has uploaded a sample Visual Studio 2015 C# project that provides a high-level demonstration of how to call the CeRTNA web services.

Disclaimer: This sample project is provided as is for reference purposes only. It is not intended to represent production quality code.

The project can be downloaded by clicking this link: (Checksum Tool)

The ChecksumTool 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:

To use the tool, the typical order of steps would be:

Enter your User Name and Password. (These are special web service user accounts provided to you by CeRTNA) Select/Load an XML file. Identify which Doc Seq# contained in the XML file that you wish to work with. Click the Calculate button. (The SHA3 checksum is calculated and displayed in the Base64 Document Checksum field.) Click the Store button. (The calculated checksum is stored in the CeRTNA Portal and a Checksum Key is returned and displayed in the Base64 Document Checksum Key field.) Click the Validate button. (The ChecksumKey and Checksum values displayed on the form are used to validate the locally calculated checksum value against the stored value in the database.

guides/sample_web_service_project.1540593694.txt.gz · Last modified: by brett.zamora