public void handleMessage(Message message) throws Fault {
EndpointInfo ei = message.getExchange().get(Endpoint.class).getEndpointInfo();
BindingOperationInfo boi = message.getExchange().get(BindingOperationInfo.class);
LOG.fine("Getting effective server request policy for endpoint " + ei
+ " and binding operation " + boi);
EffectivePolicy ep =
bus.getExtension(PolicyEngine.class).getEffectiveServerRequestPolicy(ei, boi);
for (Iterator<List<Assertion>> it = ep.getPolicy().getAlternatives(); it.hasNext();) {
Collection<Assertion> as = it.next();
LOG.fine("Checking alternative with " + as.size() + " assertions.");
for (Assertion a : as) {
LOG.fine("Assertion: " + a.getClass().getName());
HTTPServerPolicy p = (JaxbAssertion.cast(a, HTTPServerPolicy.class)).getData();