if (enableMuleSoapHeaders && !configuration.isEnableMuleSoapHeaders())
{
sfb.getInInterceptors().add(new MuleHeadersInInterceptor());
sfb.getInFaultInterceptors().add(new MuleHeadersInInterceptor());
sfb.getOutInterceptors().add(new MuleHeadersOutInterceptor());
sfb.getOutFaultInterceptors().add(new MuleHeadersOutInterceptor());
}
String address = getAddress();
//hack for CXF to work correctly with servlet and jetty urls
address = address.replace("servlet://", "http://localhost/");