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

Web Service Links

Namespace Children of ::wsdb::elements::address::toAddress::toZip

Namespace Code for ::wsdb::elements::address::toAddress::toZip

namespace eval ::wsdb::elements::address::toAddress::toZip {
    variable base address::zipPlusFour
    variable facetList {form Value maxOccurs 1 minOccurs 1}
    variable maxOccurs 1
    variable minOccurs 1
    variable new ::wsdb::elements::address::toAddress::toZip::new
    variable validate ::wsdb::elements::address::toAddress::toZip::Validate
    variable validate_address_zipPlusFour ::wsdb::types::address::zipPlusFour::validate

}

Procedures in ::wsdb::elements::address::toAddress::toZip


proc ::wsdb::elements::address::toAddress::toZip::new {
    namespace
    value
} {
         ::xml::element::appendText [::xml::element::append $namespace toZip] .TEXT $value
    }


proc ::wsdb::elements::address::toAddress::toZip::Validate {
    namespace
} {
        variable validate_address_zipPlusFour
        set Valid [$validate_address_zipPlusFour [::xml::instance::getTextValue $namespace]]

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