Not sure if its against the mailing list rules... another q...

what is the difference between these to methods of adding a policy?        

service._getServiceClient().getAxisService().getPolicyInclude().addPolicyElement(PolicyInclude.SERVICE_POLICY,
rampConfigPolicy);       

service._getServiceClient().getServiceContext().getConfigurationContext().setProperty(RampartMessageData.KEY_RAMPART_POLICY,rampConfigPolicy);
     
the last entry in the axis log when using addPolicyElement is:
2008-03-30,12:42:43,687 DEBUG: org.apache.rampart.MessageBuilder.build
Building SymmetricBinding
2008-03-30,12:42:43,703 DEBUG:
org.apache.rampart.builder.SymmetricBindingBuilder.build
SymmetricBindingBuilder build invoked
2008-03-30,12:42:43,703 DEBUG:
org.apache.rampart.builder.BindingBuilder.addTimestamp Adding timestamp

When using getConfigurationContext.setProperty the last log entry is:
2008-03-30,12:28:24,656 DEBUG:
org.apache.rampart.builder.AsymmetricBindingBuilder.build
AsymmetricBindingBuilder build invoked

-- 
View this message in context: 
http://www.nabble.com/Rampart-Secureconv-%3E-JaxenException-tp16380606p16382896.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to