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

Web Service Links

Namespace Children of ::wsdb::operations::stock2::StockOperation

Namespace Code for ::wsdb::operations::stock2::StockOperation

namespace eval ::wsdb::operations::stock2::StockOperation {
    variable conversionList {Symbol Value Verbose Value}
    variable inputElementData {
    {Symbol!stock2::symbol}
    {Verbose!stock2::verbose {minOccurs 0 default "1"}}
}
    variable invoke ::wsdb::operations::stock2::StockOperation::Invoke
    variable messages {{input StockRequestMsg} {output StockResponseMsg}}
    variable operationProc ::stock2::Stock
    variable procSignature {Symbol {{Verbose 1}}}

}

Procedures in ::wsdb::operations::stock2::StockOperation


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

    return [::wsdb::elements::stock2::StockResponse::new $outputXMLNS [::stock2::Stock $Symbol $Verbose]]
}