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

Web Service Links

Namespace Children of ::wsdb::elements::openacs::CheckPhoneRequest::Phone

Namespace Code for ::wsdb::elements::openacs::CheckPhoneRequest::Phone

namespace eval ::wsdb::elements::openacs::CheckPhoneRequest::Phone {
    variable base openacs::phone
    variable facetList {form Value maxOccurs 1 minOccurs 1}
    variable maxOccurs 1
    variable minOccurs 1
    variable new ::wsdb::elements::openacs::CheckPhoneRequest::Phone::new
    variable validate ::wsdb::elements::openacs::CheckPhoneRequest::Phone::Validate
    variable validate_openacs_phone ::wsdb::types::openacs::phone::validate

}

Procedures in ::wsdb::elements::openacs::CheckPhoneRequest::Phone


proc ::wsdb::elements::openacs::CheckPhoneRequest::Phone::new {
    namespace
    value
} {
         ::xml::element::appendText [::xml::element::append $namespace Phone] .TEXT $value
    }


proc ::wsdb::elements::openacs::CheckPhoneRequest::Phone::Validate {
    namespace
} {
        variable validate_openacs_phone
        set Valid [$validate_openacs_phone [::xml::instance::getTextValue $namespace]]

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