fromNMSAttachments(message, nm);
fromNMSHeaders(message, nm);
if (!server) {
MessageExchange me = message.getContent(MessageExchange.class);
Binding binding = message.get(Binding.class);
Operation operation = binding.getOperation(me.getOperation());
if (operation != null) {
if (!me.getPattern().equals(operation.getMep())) {
throw new Fault("Received incorrect exchange mep. Received " + me.getPattern()
+ " but expected " + operation.getMep() + " for operation "
+ operation.getName());