Neispravan digitalni potpis........... again

Dec 16, 2012 at 7:01 PM
Edited Dec 16, 2012 at 7:04 PM

hey boys and gals,

my Croatian is not very well :D so sorry for my English. I'm trying to send a request to

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

the canonicalization method is


and the two transforms:"


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



Dec 17, 2012 at 10:48 AM

Perhaps the problem is that soap envelope is not correct (<?xml version="1.0" encoding="UTF-8"?>)

your file:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="">

<SOAP-ENV:Envelope sould be the first line in xml

<SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:xsd="" xmlns:xsi="">
  <RacunZahtjev xmlns="" Id="RacunZahtjev">