public void addBindingType ( DescriptionType descriptionType ) { String interfacens ; String interfacename ; QName qname ; String value ; String name ; // Create the bindings type BindingType bindingType = wsdlFactory . createBindingType ( ) ; descriptionType . getImportOrIncludeOrTypes ( ) . add ( wsdlFactory . createBinding ( bindingType ) ) ; name = this . getControlProperty ( MessageControl . BINDING_NAME ) ; bindingType . setName ( name ) ; interfacens = this . getNamespace ( ) ; interfacename = this . getControlProperty ( MessageControl . INTERFACE_NAME ) ; qname = new QName ( interfacens , interfacename ) ; bindingType . setInterface ( qname ) ; bindingType . setType ( this . getControlProperty ( WSOAP_BINDING_URI ) ) ; interfacens = this . getControlProperty ( SOAP_SENDING_URI ) ; interfacename = "protocol" ; qname = new QName ( interfacens , interfacename ) ; value = this . getControlProperty ( SOAP_URI ) ; bindingType . getOtherAttributes ( ) . put ( qname , value ) ; this . addBindingOperationTypes ( bindingType ) ; }
AddBindingType Method .