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

Web Service Links

Namespace Children of ::wsdb::operations::stock::StocksOperation

Namespace Code for ::wsdb::operations::stock::StocksOperation

namespace eval ::wsdb::operations::stock::StocksOperation {
    variable conversionList {Symbol List Verbose Value}
    variable inputElementData {
    {Symbol!stockquoter::symbol {maxOccurs 8 default "MSFT"}}
    {Verbose!stockquoter::verbose {minOccurs 0 default "1"}}
}
    variable invoke ::wsdb::operations::stock::StocksOperation::Invoke
    variable messages {{input StocksRequestMsg} {output StocksResponseMsg}}
    variable operationProc ::stock::Stocks
    variable procSignature {{{Symbol MSFT}} {{Verbose 1}}}

}

Procedures in ::wsdb::operations::stock::StocksOperation


proc ::wsdb::operations::stock::StocksOperation::Invoke {
    inputXMLNS
    outputXMLNS
} {
    variable conversionList
    set Verbose 1
    ::xml::childElementsAsListWithConversions $inputXMLNS $conversionList

    return [::wsdb::elements::stock::StocksQuoted::new $outputXMLNS [::stock::Stocks $Symbol $Verbose]]
}