Andy commented the commit [867828f03a] with the following comment:

Correct which document is being imported

(Also) this fixes the follwoing client side access error:

<verbatim>


I need to get TclWS to talk to Coverity, but I can't even parse the
WSDL:

$ tclsh
% package require Tcl
8.6.8
% package require tdom
0.9.1
% package require WS::Client
2.6.0
% package require tls
1.8.0
% package require uri
1.2.7
% package require log
1.4
% package require struct::set
2.2.3
% WS::Client::GetAndParseWsdl
returned code {200}
key "Client" not known in dictionary
% set errorInfo
key "Client" not known in dictionary
    while executing
"dict get $typeInfo $mode $service"
    (procedure "::WS::Utils::GetServiceTypeDef" line 9)
    invoked from within
"::WS::Utils::GetServiceTypeDef Client $serviceName"
    (procedure "ParseWsdl" line 146)
    invoked from within
"ParseWsdl $body -headers $headers -serviceAlias $serviceAlias -serviceNumber $serviceNumber"
    (procedure "WS::Client::GetAndParseWsdl" line 18)
    invoked from within
"WS::Client::GetAndParseWsdl
% set WS::Utils::typeInfo
%

$WS::Utils::typeInfo is empty, hence the dictionary lookup error.

What am I missing here?  Is there more I can do to help debug?

Debug log attached.

--
Andy Goth |

</verbatim>