OMElement amazon = x.getFirstChildWithName(new QName(null, AMAZON));
if (amazon != null) {
AmazonSecurityContext amazonSecurityContext = new AmazonSecurityContext();
OMElement accessKey = amazon.getFirstChildWithName(new QName(null, ACCESS_KEY_ID));
OMElement secretKey = amazon.getFirstChildWithName(new QName(null, SECRET_ACCESS_KEY));
amazonSecurityContext.setAccessKey(accessKey.getText());
amazonSecurityContext.setSecretKey(secretKey.getText());
// set to context
MessageContextUtil.addContextToProperty(msgContext, GFacService.SECURITY_CONTEXT, "amazon",
amazonSecurityContext);
}