I have realized that if you use AXIS deploy script, the canonicalization algorthim is hardcoded. There is no way to change it, after looking at the code.  I had to change the WSSignEnvelope class to look at the options in the deploy script. Is this implemented somewhere, that I am not aware of?

 

Code changes I made to allow setting canonicalization algorithm in WSDoAllSender.java, WSHandlerConstants.java.

 

 

<snip>

reqData.canonicalizationAlgo = (String) getOption(WSHandlerConstants.CONANICALIZATION_ALGO);

 

if (reqData.canonicalizationAlgo != null){

             wsSign.setSigCanonicalization(reqData.canonicalizationAlgo);

        }   

 

</snip>

 

is that true for transform algorithm as well???

 

Thanks in advance..

 

Hassan

 

 

Reply via email to