The following operations are supported. For a formal definition,
please review the
Service Description.
Web Service Links
Namespace Children of ::wsdb::elements::aca::helloResponse
Namespace Code for ::wsdb::elements::aca::helloResponse
namespace eval ::wsdb::elements::aca::helloResponse {
variable Children string
variable MaxOccurs
set MaxOccurs(string) 1
variable MinOccurs
set MinOccurs(string) 1
variable facetList {form Value name helloResponse}
variable new ::wsdb::elements::aca::helloResponse::new
variable validate ::wsdb::elements::aca::helloResponse::ValidatehelloResponse
variable validate_string ::wsdb::elements::aca::helloResponse::string::Validate
}
Procedures in ::wsdb::elements::aca::helloResponse
proc ::wsdb::elements::aca::helloResponse::ValidatehelloResponse {
namespace
} {
variable Children
variable MinOccurs
variable MaxOccurs
variable validate_string
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 {
string {
if {![eval [linsert $validate_string end $childPart]]} {
::wsdl::elements::noteFault $namespace [list 2 string $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::aca::helloResponse::new {
instanceNamespace
childValuesList
} {
set typeNS [::xml::element::append $instanceNamespace helloResponse]
set childValuesList [list $childValuesList]
if {[lindex $childValuesList 0] ne ""} {
$::wsdb::elements::aca::helloResponse::string::new $typeNS [lindex $childValuesList 0]
} else {
return -code error "Missing value for required Element string with no default value calling $::wsdb::elements::aca::helloResponse::string::new"
}
return $typeNS
}