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

Web Service Links

Namespace Children of ::wsdb::types::mywebservice::code

Namespace Code for ::wsdb::types::mywebservice::code

namespace eval ::wsdb::types::mywebservice::code {
    variable base xsd::integer
    variable pattern {[0-9]{4}}
    variable validate ::wsdb::types::mywebservice::code::validate

}

Procedures in ::wsdb::types::mywebservice::code


proc ::wsdb::types::mywebservice::code::validate {
    value
} {
        variable base
        variable pattern
        if {[::wsdb::types::${base}::validate $value] && [regexp $pattern $value]} {
            return 1
        } else {
            return 0
     }}