Forum Discussion

Fredrik_Granstr's avatar
Fredrik_Granstr
Occasional Contributor
16 years ago

XML signature

I am trying to create a request with XML signature with soapUI. The created message looks like this:


 









1xeWb10a3EIXvGOSPh/82tjxul4=



Bv20lY0H4QM6JCOan......xtPm6N7kEiGnfwVFeSMSfXqyQ==


MIIEDj.....Ap+oBbPcw==


      urn:carelink:bif:authz:0.1:EvaluateXACML30Request
 

 
      anyType
 


The problem I have is that the server reject my message:
"Verification of Signature with ID  Signature-10748469 failed, possible cause : proper canonicalizedsignedinfo was not produced."

It looks likte it is impossible to calculate the value for the server. What I am missing in the request is a  prefix list. Example:
     
       
         
==>           
         

         
         
           
             
==>           
             

           

                        RSYxyDk+tlgcNt/C+SUq6rU7tJQ=
         

       


So, my question is if you use prefix in your calculation but the prefix list is not added in the request?

2 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Can you attach the project file for us, or at least some screenshots of how you create the signature, so that we can better troubleshoot the problem?

    Thanks!

    /Nenad
    http://eviware.com
  • Fredrik_Granstr's avatar
    Fredrik_Granstr
    Occasional Contributor
    Hi,
      I have attached my project to this mail. I would like to know more about the signature part. Have I generated it correct? The server that I sent the message to give me an error for the SignatureValue. If I compare it to other request the generated soapUI request is missing a prefix list.

    /Fredrik