Problem using HSBCHashGenerator CFX
Upgrading from MX7 to 10.
Got a .jar file "cpitools.jar" which I've put into /opt/coldfusion10/jre/lib
If I do a jar -tf on it, I get:
com/clearcommerce/CpiTools/security/Encrypter.class
com/clearcommerce/CpiTools/security/HashGenerator.class
com/clearcommerce/CpiTools/security/SecCrypto.class
META-INF/MANIFEST.MF
I've registered it in the CFIDE:
TagName: CFX_HSBCHashGenerator
ClassName: com.clearcommerce.CpiTools.security.HashGenerator
BUT when I try to call it...
<CFX_HSBCHashGenerator SharedSecret="#ss#" HashElement="#datainput#">
I get the error message: The CFX custom tag CFX_com.clearcommerce.CpiTools.security.HashGenerator was not found in the custom tag database. You must add custom tags to the database before using them. If you have added your tag to the database, check the spelling of the tag within your template to ensure that it matches the database entry.
-----
So when it says "you must add custom tags to the database" - it's referring to the registration of the Java CFX, right?
So I've done that. so I check the spelling of the tag - looks OK to me (and it is unchanged since the functional MX7 code).
Obviously the mapping is working to some extent - CF was clever enough to realise that when I say <CFX_HSBCHashGenerator...., I am referring to something with "com.clearcommerce.CpiTools.security.HashGenerator".
So what's my blindingly obvious in retrospect error?!
