View Ticket
Not logged in
Ticket UUID: 61fd346dc3430829e2702dc314b3735357c68f12
Title: WSDL Scheme subtree used instead of document - not found
Status: Closed Type: Code_Defect
Severity: Critical Priority: Immediate
Subsystem: Client_Side Resolution: Fixed
Assigned to: unassigned
Last Modified: 2021-10-18 08:40:26
Version Found In: 1.0-2.6.0
Description & Comments:
Andy commented the commit [867828f03a] with the following comment:

Correct which document is being imported

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



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 https://coverity.labs.quest.com/ws/v9/configurationservice?wsdl
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 https://coverity.labs.quest.com/ws/v9/configurationservice?wsdl"
% 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 | <andrew.m.goth/at/gmail/dot/com>


oehhar added on 2021-10-18 08:40:26 UTC:
Thank you Andy. As there was no hint for a long time, I close the bug.

Sorry, Harald