public void addBindingsType ( TDefinitions definitions ) { String interfacens ; String interfacename ; QName qname ; String value ; String name ; if ( soapFactory == null ) soapFactory = new org . xmlsoap . schemas . wsdl . soap . ObjectFactory ( ) ; // Create the bindings type TBinding binding = wsdlFactory . createTBinding ( ) ; definitions . getAnyTopLevelOptionalElement ( ) . add ( binding ) ; name = this . getControlProperty ( MessageControl . BINDING_NAME ) ; binding . setName ( name ) ; interfacens = this . getNamespace ( ) ; interfacename = this . getControlProperty ( MessageControl . INTERFACE_NAME ) ; qname = new QName ( interfacens , interfacename ) ; binding . setType ( qname ) ; //?LocalElement localElement = schemaFactory.createLocalElement(); //?TBinding.getAny().add(localElement); org . xmlsoap . schemas . wsdl . soap . TBinding tBinding = soapFactory . createTBinding ( ) ; binding . getAny ( ) . add ( soapFactory . createBinding ( tBinding ) ) ; interfacens = this . getControlProperty ( SOAP_URI ) ; tBinding . setTransport ( interfacens ) ; tBinding . setStyle ( org . xmlsoap . schemas . wsdl . soap . TStyleChoice . DOCUMENT ) ; this . addBindingOperationTypes ( binding ) ; }
AddBindingsType Method .