.getTransportURI().startsWith(Constants.SOAP_MICROSOFT_TCP))) {
return SoapVersion.Soap11;
}
}
SOAP12Binding soap12Binding = WsdlUtils.getExtensiblityElement(list, SOAP12Binding.class);
if (soap12Binding != null) {
if (soap12Binding.getTransportURI().startsWith(Constants.SOAP_HTTP_TRANSPORT)
|| soap12Binding.getTransportURI().startsWith(Constants.SOAP12_HTTP_BINDING_NS)
|| soap12Binding.getTransportURI().startsWith(Constants.SOAP_MICROSOFT_TCP)) {
return SoapVersion.Soap12;
}
}
throw new SoapBuilderException("SOAP binding not recognized");
}