Hi, I have a problem with digital signature in one of my axis2 web services.
I will write a simplified description of the problem, hopefully someone can help me : my web service accepts input parameter, executes some query on the database, write the results in XML, sign the xml with certificate (from keystore) and send the soap message to another web service . Everything is going ok until the part where i sign the xml message. Instead of standard Signature element i get <axis2ns35:Signature xmlns:axis2ns33="http://www.w3.org/2000/09/xmldsig#" xmlns:axis2ns21="http://www.w3.org/2000/09/xmldsig#" xmlns:axis2ns19="http://www.w3.org/2000/09/xmldsig#"> <axis2ns19:SignedInfo xmlns:axis2ns5="http://www.w3.org/2000/09/xmldsig#" xmlns:axis2ns3="http://www.w3.org/2000/09/xmldsig#" xmlns:axis2ns17="http://www.w3.org/2000/09/xmldsig#"> <axis2ns3:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> <axis2ns5:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /> <axis2ns17:Reference xmlns:axis2ns15="http://www.w3.org/2000/09/xmldsig#" xmlns:axis2ns13="http://www.w3.org/2000/09/xmldsig#" xmlns:axis2ns11="http://www.w3.org/2000/09/xmldsig#" ... etc . etc. The valid example would be: <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <SignedInfo> <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/> why do i get those axis2ns35, axis2ns34 etc . attributes? Thx, Ivan --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org