throws AxisFault {
Map httpLocationTable = createHttpLocationTable();
// Capture all the binding specific properties
HTTPBindingExtensionsImpl httpBindingExtensions;
try {
httpBindingExtensions = (HTTPBindingExtensionsImpl) binding
.getComponentExtensionContext(new URI(WSDL2Constants.URI_WSDL2_HTTP));
} catch (URISyntaxException e) {
throw new AxisFault("HTTP Binding Extention not found");
}
String httpMethodDefault = httpBindingExtensions.getHttpMethodDefault();
axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_METHOD,
httpMethodDefault);
axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,
httpBindingExtensions.getHttpQueryParameterSeparatorDefault());
axisBinding.setProperty(WSDL2Constants.ATTR_WHTTP_CONTENT_ENCODING,
httpBindingExtensions.getHttpContentEncodingDefault());
// Capture all the fault specific properties
BindingFault[] bindingFaults = binding.getBindingFaults();
for (int i = 0; i < bindingFaults.length; i++) {