src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/WSDLInfo.java
/**
     * Checks if binding entry is SOAP and specified version.
     * @param be
     * @return
     */
Checks if binding entry is SOAP and specified version.
@param be
@return
Checks if binding entry is SOAP and specified version . @param be @return
private static boolean isSOAPBinding(BindingEntry be, String soapNamespace)
    {
        Binding b = be.getBinding();        
        if ((be.getBindingType() == BindingEntry.TYPE_SOAP))
        {            
            String ns = soapNamespace;
            SOAPBinding soapbinding = (SOAPBinding)getExtensibilityElement(b, INSTANCEOF_SOAPBINDING);
            if (soapbinding != null && null != soapbinding.getElementType().getNamespaceURI())
                ns = soapbinding.getElementType().getNamespaceURI();
            return ns.equals(soapNamespace);
        }
        return false;
    }
private static boolean isSOAPBinding ( BindingEntry be , String soapNamespace ) { Binding b = be . getBinding ( ) ; if ( ( be . getBindingType ( ) == BindingEntry . TYPE_SOAP ) ) { String ns = soapNamespace ; SOAPBinding soapbinding = ( SOAPBinding ) getExtensibilityElement ( b , INSTANCEOF_SOAPBINDING ) ; if ( soapbinding != null && null != soapbinding . getElementType ( ) . getNamespaceURI ( ) ) ns = soapbinding . getElementType ( ) . getNamespaceURI ( ) ; return ns . equals ( soapNamespace ) ; } return false ; }
Checks if binding entry is SOAP and specified version.
Checks if binding entry is SOAP and specified version .