The following operations are supported. For a formal definition, please review the Service Description.

Web Service Links

Namespace Children of ::wsdb::elements::stock2::StocksRequest::Symbol

Namespace Code for ::wsdb::elements::stock2::StocksRequest::Symbol

namespace eval ::wsdb::elements::stock2::StocksRequest::Symbol {
    variable base stock2::symbol
    variable facetList {form Value default MSFT maxOccurs 8 minOccurs 1}
    variable maxOccurs 8
    variable minOccurs 1
    variable new ::wsdb::elements::stock2::StocksRequest::Symbol::new
    variable validate ::wsdb::elements::stock2::StocksRequest::Symbol::Validate
    variable validate_stock2_symbol ::wsdb::types::stock2::symbol::validate

}

Procedures in ::wsdb::elements::stock2::StocksRequest::Symbol


proc ::wsdb::elements::stock2::StocksRequest::Symbol::new {
    namespace
    value
} {
         ::xml::element::appendText [::xml::element::append $namespace Symbol] .TEXT $value
    }


proc ::wsdb::elements::stock2::StocksRequest::Symbol::Validate {
    namespace
} {
        variable validate_stock2_symbol
        set Valid [$validate_stock2_symbol [::xml::instance::getTextValue $namespace]]

        if {!$Valid} {
            ::wsdl::elements::noteFault $namespace [list 1 Symbol [::xml::instance::getTextValue $namespace] $validate_stock2_symbol ]
        }
        return $Valid
    }