guides:sample_web_service_project
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
guides:sample_web_service_project [2018/10/26 22:41] – brett.zamora | guides:sample_web_service_project [2018/10/26 23:02] (current) – brett.zamora | ||
---|---|---|---|
Line 4: | Line 4: | ||
**Disclaimer: | **Disclaimer: | ||
+ | |||
+ | The application demonstrates functions like: | ||
+ | |||
+ | * Obtaining the value of a Base64 document string from an XML file. | ||
+ | * Calculating a SHA384 Hash and converting the hash to a Base64 string. | ||
+ | * Logging in to obtain a soft-token for use with the various web services. | ||
+ | * Calling StoreChecksum web service to store a checksum value. | ||
+ | * Calling the ValidateChecksum web service to validate a checksum value. | ||
+ | |||
The project can be downloaded by clicking this link: ({{guides: | The project can be downloaded by clicking this link: ({{guides: | ||
Line 24: | Line 33: | ||
To use the tool, the typical order of steps would be: | 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) | + | {{tablelayout? |
- | Select/Load an XML file. | + | ^ Step ^ Comment ^ |
- | Identify | + | | Enter User Name & PW | These are special web service user accounts provided to you by CeRTNA. | |
- | Click the Calculate button. (The SHA3 checksum is calculated and displayed in the Base64 Document Checksum field.) | + | | Select/Load an XML file | You can use a REQUEST or RESPONSE |
- | 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.) | + | | Enter a Doc Seq# | This identies |
- | 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. | + | | Click the Calculate button |
+ | | Click the Store button | ||
+ | | Click the Validate button | ||
+ | | Click the Reset button | This clears the form fields. | | ||
+ | |||
+ | |||
+ | **Note:** The Checksum Value field is unprotected so that you can modify the checksum value manually to test the negative result of the ValidateChecksum flow. | ||
+ | There are plenty of other tools available for testing web services as well. One of the tools CeRTNA works with is POSTMAN. You can download a free version of POSTMAN from the following URL: https:// | ||
guides/sample_web_service_project.1540593694.txt.gz · Last modified: by brett.zamora