Closed VeselyJan92 closed 8 years ago
Could you please elaborate more on the issue? Which platform (Java, C#, Shell). What is your code example?
So the first problem is formatting of amounts in XML, java uses locale formatting if there isn´t Locale parametr in a format
method therefore in XML there is parametr: celk_trzba="100,00"
, which use Czech sign you need to use: String.format(Locale.US, "%.2f", amount)
in order to get a dot. And the second problem I haven´t figure out yet. It is in: assertTrue(validateXmlDSig(signed, data.getCertificate()));
, But I didn't change anything else except the amount
method.
Solved for those who use IntelliJ when you clone project you need to change manually line separators to LF for all templates.
Bad issue mentioned in closing commit.
I cloned project and I am getting ERR SOAP signature is not valid, do you have any idea how to fix it?