org.apache.cxf.message.Message msg = ctx.getWrappedMessage();
Endpoint ep = msg.getExchange().get(Endpoint.class);
W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
builder.address(ep.getEndpointInfo().getAddress());
builder.serviceName(ep.getService().getName());
builder.endpointName(ep.getEndpointInfo().getName());
URI wsdlDescription = ep.getEndpointInfo().getProperty("URI", URI.class);
if (wsdlDescription == null) {
String address = ep.getEndpointInfo().getAddress();
try {