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

Web Service Links

Namespace Children of ::wsdb::operations::mywebservice::AddNumbersOperation

Namespace Code for ::wsdb::operations::mywebservice::AddNumbersOperation

namespace eval ::wsdb::operations::mywebservice::AddNumbersOperation {
    variable conversionList {FirstNum Value SecondNum Value}
    variable inputElementData {
    {FirstNum!integer {default "0" minOccurs 0}}
    {SecondNum!integer {default "0" minOccurs 0}}
}
    variable invoke ::wsdb::operations::mywebservice::AddNumbersOperation::Invoke
    variable messages {{input AddNumbersRequestMsg} {output AddNumbersResponseMsg}}
    variable operationProc ::mywebservice::AddNumbers
    variable procSignature {{{FirstNum 0}} {{SecondNum 0}}}

}

Procedures in ::wsdb::operations::mywebservice::AddNumbersOperation


proc ::wsdb::operations::mywebservice::AddNumbersOperation::Invoke {
    inputXMLNS
    outputXMLNS
} {
    variable conversionList
    set FirstNum 0
    set SecondNum 0
    ::xml::childElementsAsListWithConversions $inputXMLNS $conversionList

    return [::wsdb::elements::mywebservice::AddNumbersResponse::new $outputXMLNS [::mywebservice::AddNumbers $FirstNum $SecondNum]]
}