((BindingProvider)pt).getRequestContext().put(SecurityConstants.SIGNATURE_PROPERTIES,
getClass().getResource("alice.properties"));
((BindingProvider)pt).getRequestContext().put(SecurityConstants.ENCRYPT_PROPERTIES,
getClass().getResource("bob.properties"));
//This should work as it should be properly signed.
assertEquals(BigInteger.valueOf(10), pt.doubleIt(BigInteger.valueOf(5)));
//Try sending a message with the "TimestampOnly" policy into affect to the
//service running the "signed only" policy. This SHOULD fail as the
//body is then not signed.
pt = service.getDoubleItPortTimestampOnly();