The following operations are supported. For a formal definition,
please review the
Service Description.
Web Service Links
Namespace Children of ::wsdb::elements::address::sendMail2Response
Namespace Code for ::wsdb::elements::address::sendMail2Response
namespace eval ::wsdb::elements::address::sendMail2Response {
variable Children {envelopeId fromAddrress toAddrress}
variable MaxOccurs
set MaxOccurs(fromAddrress) 1
set MaxOccurs(toAddrress) 1
set MaxOccurs(envelopeId) 1
variable MinOccurs
set MinOccurs(fromAddrress) 1
set MinOccurs(toAddrress) 1
set MinOccurs(envelopeId) 1
variable facetList {form Value name sendMail2Response}
variable new ::wsdb::elements::address::sendMail2Response::new
variable validate ::wsdb::elements::address::sendMail2Response::ValidatesendMail2Response
variable validate_envelopeId ::wsdb::elements::address::sendMail2Response::envelopeId::Validate
variable validate_fromAddrress ::wsdb::elements::address::fromAddress::ValidatefromAddress
variable validate_toAddrress ::wsdb::elements::address::toAddress::ValidatetoAddress
}
Procedures in ::wsdb::elements::address::sendMail2Response
proc ::wsdb::elements::address::sendMail2Response::ValidatesendMail2Response {
namespace
} {
variable Children
variable MinOccurs
variable MaxOccurs
variable validate_envelopeId
variable validate_fromAddrress
variable validate_toAddrress
array set COUNT [array get ${namespace}::.COUNT]
set COUNT(.INVALID) 0
set ElementNames $Children
foreach ElementName $ElementNames {
if {$MinOccurs($ElementName) > 0} {
if {![info exists COUNT($ElementName)]} {
::wsdl::elements::noteFault $namespace [list 4 $ElementName 0 $MinOccurs($ElementName)]
incr COUNT(.INVALID)
return 0
} elseif {$COUNT($ElementName) < $MinOccurs($ElementName)} {
::wsdl::elements::noteFaunt $namespace [list 4 $ElementName $COUNT($ElementName) $MinOccurs($ElementName)]
incr COUNT(.INVALID)
return 0
}
}
if {[info exists COUNT($ElementName)] && $COUNT($ElementName) > $MaxOccurs($ElementName)} {
::wsdl::elements::noteFault $namespace [list 5 $ElementName $COUNT($ElementName) $MaxOccurs($ElementName)]
incr COUNT(.INVALID)
return 0
}
}
set PARTS [set ${namespace}::.PARTS]
set COUNT(.ELEMENTS) 0
foreach PART $PARTS {
incr COUNT(.ELEMENTS)
foreach {childName prefix childPart} $PART {}
set childPart [::xml::normalizeNamespace $namespace $childPart]
switch -exact -- $childName {
envelopeId {
if {![eval [linsert $validate_envelopeId end $childPart]]} {
::wsdl::elements::noteFault $namespace [list 2 envelopeId $childPart]
incr COUNT(.INVALID)
break
}
}
fromAddrress {
if {![eval [linsert $validate_fromAddrress end $childPart]]} {
::wsdl::elements::noteFault $namespace [list 2 fromAddrress $childPart]
incr COUNT(.INVALID)
break
}
}
toAddrress {
if {![eval [linsert $validate_toAddrress end $childPart]]} {
::wsdl::elements::noteFault $namespace [list 2 toAddrress $childPart]
incr COUNT(.INVALID)
break
}
}
default {
::wsdl::elements::noteFault $namespace [list 3 $childName $childPart]
incr COUNT(.INVALID)
}
}
}
if {$COUNT(.INVALID)} {
return 0
} else {
return 1
}
}
proc ::wsdb::elements::address::sendMail2Response::new {
instanceNamespace
childValuesList
} {
set typeNS [::xml::element::append $instanceNamespace sendMail2Response]
if {[lindex $childValuesList 0] ne ""} {
$::wsdb::elements::address::sendMail2Response::envelopeId::new $typeNS [lindex $childValuesList 0]
} else {
return -code error "Missing value for required Element envelopeId with no default value calling $::wsdb::elements::address::sendMail2Response::envelopeId::new"
}
if {[lindex $childValuesList 1] ne ""} {
$::wsdb::elements::address::sendMail2Response::fromAddrress::new $typeNS [lindex $childValuesList 1]
} else {
return -code error "Missing value for required Element fromAddrress with no default value calling $::wsdb::elements::address::sendMail2Response::fromAddrress::new"
}
if {[lindex $childValuesList 2] ne ""} {
$::wsdb::elements::address::sendMail2Response::toAddrress::new $typeNS [lindex $childValuesList 2]
} else {
return -code error "Missing value for required Element toAddrress with no default value calling $::wsdb::elements::address::sendMail2Response::toAddrress::new"
}
return $typeNS
}