public class Soap12HttpBindingImporter extends AbstractSoapBindingImporter {
private final static Logger log = Logger.getLogger(Soap12HttpBindingImporter.class);
public boolean canImport(Binding binding) {
List<?> list = binding.getExtensibilityElements();
SOAP12Binding soapBinding = WsdlUtils.getExtensiblityElement(list, SOAP12Binding.class);
return soapBinding == null ? false : soapBinding.getTransportURI().startsWith(Constants.SOAP_HTTP_TRANSPORT)
|| soapBinding.getTransportURI().startsWith(Constants.SOAP12_HTTP_BINDING_NS)
|| soapBinding.getTransportURI().startsWith(Constants.SOAP_MICROSOFT_TCP);
}