hey boys and gals,
my Croatian is not very well :D so sorry for my English. I'm trying to send a request to
https://cistest.apis-it.hr:8449/FiskalizacijaServiceTest
but again and again and again i got that my signature is wrong, i'll post the requests and the response and they r printed in a single line.. oh and i'm using java's apache xml security
the signature algorithm is
"http://www.w3.org/2000/09/xmldsig#rsa-sha1"
the canonicalization method is
"http://www.w3.org/2001/10/xml-exc-c14n#"
and the two transforms:
http://www.w3.org/2000/09/xmldsig#enveloped-signature
http://www.w3.org/2001/10/xml-exc-c14n#"
First I create the PoslovniProstorZahtjev node and sub nodes then sign this document using the above settings then wrap it in envelope and send it.
Before i send it I verify the envelope with apache xml security and XML-DSig two different libraries and both are telling me that the signature is valid... and when i check the response guess what .............................Neispravan digitalni potpis :(;(
soo a little help will be appreciated, thanks in advance boys and gals