}
}
if (binding.getRequestWireFormat() != null) {
// Configure the interceptors for wire format
WireFormatProviderFactory wfProviderFactory =
(WireFormatProviderFactory)providerFactories.getProviderFactory(binding.getRequestWireFormat()
.getClass());
if (wfProviderFactory != null) {
this.wfProvider = wfProviderFactory.createServiceWireFormatProvider(endpoint);
}
}
if (binding.getResponseWireFormat() != null) {
// Configure the interceptors for wire format
WireFormatProviderFactory wfProviderFactory =
(WireFormatProviderFactory)providerFactories.getProviderFactory(binding.getResponseWireFormat()
.getClass());
if (wfProviderFactory != null) {
this.wfResponseProvider = wfProviderFactory.createServiceWireFormatProvider(endpoint);
}
}
//clone the service contract to avoid databinding issues
try {