In the following method should the parameter be
namespaced into the given uri? Possibly the method
element should be declaring a default namespace --
check the specs and interop.
SOAP::create t -uri urn:test:test -proxy
urn:print:print -params {param1 string}
Logged In: YES
user_id=1983
Originator: NO
attached a fix, to replace around line 900 etc in SOAP.tcl
Logged In: YES
user_id=1983
Originator: NO
Hmm... attach not enabled. Here's the raw code then:
# insert the parameters.
set param_no 0
foreach {key type} $params {
set val [lindex $args $param_no]
if {$uri == ""} {
# don't use a namespace prefix if we don't have a namespace.
set d_param [dom::document createElement $cmd $key]
} else {
set d_param [dom::document createElement $cmd "ns:$key" ]
dom::element setAttribute $d_param "xmlns:ns" $uri
}
insert_value $d_param [rpcvar $type $val]
incr param_no
}