((BindingProvider)saml2Port).getRequestContext().put(
"ws-security.saml-callback-handler", new SamlCallbackHandler()
);
try {
saml2Port.doubleIt(BigInteger.valueOf(25));
fail("Expected failure on an invocation with an unsigned SAML SV Assertion");
} catch (javax.xml.ws.soap.SOAPFaultException ex) {
assert ex.getMessage().contains("Assertion fails sender-vouches requirements");
}
}