Does anybody know why the SignedSOAPEnvelope class in samples\security generates these two Signature elements (each with a different namespace)?  Is this correct?

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope soapenv:actor="some-uri" soapenv:mustUnderstand="1"
        xmlns:SOAP-SEC="http://schemas.xmlsoap.org/soap/security/2000-12"
        xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <soapenv:Header>
                <SOAP-SEC:Signature soapenv:actor="" soapenv:mustUnderstand="0">
                        <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
                                <ds:SignedInfo>
                                        <ds:CanonicalizationMethod
                                                Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
                                        <ds:SignatureMethod
                                                Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
                                        [...]

Thanks,
David Frahm

Reply via email to