SOAP UI WSDL to Chilkat Code

Chilkat now has an Online SOAP WSDL Code Generator You can generate code and SOAP request/response XML from an online WSDL URL.  The cumbersome and complicated procedure below is no longer needed. See the new Chilkat SOAP WSDL Code Generator at https://tools.chilkat.io/soap_wsdl_generate_code     These are the old instructions for using SoapUI.  It is much easier to use the Online […]

Trying to Compress Already-Compressed Data

If a file or data does not compress, and the “compressed” result is slightly larger than the uncompressed input, then… This is typical if one tries to compress already-compressed data. For example, the JPG image format is itself a compression algorithm. The more something is compressed, the more the data resembles a sequence of random bytes. Compression algorithms work by […]

MinGW/TDM Link Errors — _time32, _localtime32, …

The following link errors can happen if the incorrect Chilkat C/C++ library is chosen. For example, if you are using the TDM 4.7.1 compiler, but you downloaded the Chilkat lib for MinGW-4.6.3, then you would get these errors: ../lib/libchilkat-9.5.0.a(ChilkatTm.o):ChilkatTm.cpp:(.text+0x80): undefined reference to `_localtime32′ ../lib/libchilkat-9.5.0.a(ChilkatTm.o):ChilkatTm.cpp:(.text+0x237): undefined reference to `_mktime32′ ../lib/libchilkat-9.5.0.a(ChilkatTm.o):ChilkatTm.cpp:(.text+0x1df9): undefined reference to `_time32′ ../lib/libchilkat-9.5.0.a(ChilkatTm.o):ChilkatTm.cpp:(.text+0x266): undefined reference to `_mktime32′ ../lib/libchilkat-9.5.0.a(Psdk.o):Psdk.cpp:(.text+0xdab): undefined […]

HTTPS Windows Integrated Authentication

This example explains how to do HTTP authentication on a Windows system using the current logged-on user credentials. Classic ASP: HTTPS Windows Integrated Authentication C: HTTPS Windows Integrated Authentication Chilkat2-Python: HTTPS Windows Integrated Authentication C++: HTTPS Windows Integrated Authentication C#: HTTPS Windows Integrated Authentication C# UWP/WinRT: HTTPS Windows Integrated Authentication DataFlex: HTTPS Windows Integrated Authentication Delphi ActiveX: HTTPS Windows Integrated […]

Using Chilkat with la Carta Nazionale dei Servizi delle Camere di Commercio d’Italia

To use Chilkat for signing XML with a CNS smartcard, the certificate must be installed on the Windows system.  Chilkat uses the Microsoft CNG (Cryptographic Next Generation) to do the signing.  If the CNS smartcard certificate is installed on Windows correctly, then CNG should automatically know to use the smartcard for signing.  I cannot read Italian, but I think the […]

Accessing Private Key causes Windows to show Dialog Box – How to Suppress

Question:  Calling CkXmlDSigGen.SetX509Cert causes Windows to show a dialog box requesting validation.  Is it possible to avoid the dialog box? Answer: Yes.  The reason for displaying the dialog box  is because the cert + private key was imported with the option to enable strong private key protection.  Here’s a screenshot of the Window Certificate Import Wizard showing the two checkboxes:  […]

Progress Monitoring HTTP Requests in Installed Apps

This is a note about the pitfalls of progress monitoring HTTP requests sent from an installed app (i.e. not web app running in a browser). Ideally, we’d like to know how long an HTTP POST is going to take, and update the percent-completed visually so that when it reaches 100% the operation is neatly finished as indicated.  This turns out […]

Monitoring Progress of a Web Request

I like this article for the purpose of conceptually understanding the architecture for monitoring the progress of an HTTP web request in a Browser:  https://buildwithdjango.com/blog/post/celery-progress-bars/ Regardless of technology, programming language, etc., it boils down to this: The initial HTTP request kicks off the work/job. Some infrastructure on the server-side starts the work in a background thread (or whatever) and returns […]

Online XML Digital Signature Validators

Chilkat’s Online XML Signature Validator: http://tools.chilkat.io/xmlDsigVerify.cshtml gob.es FacturaE online validator: http://sedeaplicaciones2.minetur.gob.es/FacturaE/ ETSI Signature Conformance Checker (requires credentials)  http://signatures-conformance-checker.etsi.org Validate UBL:  https://www.moj-eracun.hr/exchange/validateubl UBL 2.1 e-Invoice Validation: https://joinup.ec.europa.eu/solution/ubl-21-e-invoice-validation-service/about FatturaPA (fatturapa.gov.it)  http://sdi.fatturapa.gov.it/SdI2FatturaPAWeb/AccediAlServizioAction.do?pagina=controlla_fattura ADSS Signing Server: https://account.ascertia.com/demos/xmlsignatureverificationstep1 apis.gometa.org hacienda (Costa Rica) XML Validator: https://apis.gometa.org/validar/ RTR Signatur-Prüfung https://www.signatur.rtr.at/de/vd/Pruefung.html ICP-Brasil https://verificador.iti.gov.br/verifier-2.6.2/ Weryfikacja Podpisu Elektronicznego https://weryfikacjapodpisu.pl/index.html XmlValidation.com:  https://www.xmlvalidation.com/ I don’t trust this validator. Change the signed XML document to deliberately introduce errors and […]

XAdES-BES for www.csioz.gov.pl

Chilkat has resolved problems relating to the creation of XAdES-BES XML signatures for documents sent to www.csioz.gov.pl.   These fixes will be available starting in Chilkat v9.5.0.76.   At the time of this post (31-Oct-2018) 9.5.0.76 is not yet released.  Contact support@chilkatsoft.com for a pre-release if desired. Chilkat has worked with a customer to successfully sign XML files having the HL7 […]