WrappedOutInterceptor wrappedOut = new WrappedOutInterceptor(Phase.PRE_LOGICAL);
wrappedOut.addAfter(getId());
chain.add(wrappedOut);
final XMLMessageOutInterceptor xmlOut = new XMLMessageOutInterceptor(Phase.PRE_LOGICAL);
xmlOut.addAfter(wrappedOut.getId());
chain.add(xmlOut);
Endpoint ep = message.getExchange().get(Endpoint.class);
URIMapper mapper = (URIMapper) ep.getService().get(URIMapper.class.getName());
BindingOperationInfo bop = message.getExchange().get(BindingOperationInfo.class);