Re: Webservice package over https with authorization
- From: "Gerald W. Lester" <Gerald.Lester@xxxxxxx>
- Date: Thu, 31 Jul 2008 08:35:44 -0500
Jens Haines wrote:
Hi everyone,
I'm having problems with the "Webservice"-package by Gerald Lester. I try to access a sample webservice provided for me via https. For this service I need to authorize with username and password. When I try to invoke
::WS::Client::GetAndParseWsdl $urlToWSDL
I get the error message:
"Unknown URL type 'https...'"
Is there any way to use the Webservice package over https?
My System is:
WinXP SP2
Tcl 8.5
WebService 1.0.8
tDom 0.8.1
tls 1.6
My guess would be, that I need to establish a connection over https to the server, and authorize myself before I invoke the GetAndParseWsdl command.
Thanks in advance for any answers.
That's very strange, because I routinely use it to connect to https.
Could you please check in Clients.tcl that on or around line 52 you have:
catch {
package require tls
http::register https 443 ::tls::socket
}
And no, you do not have to do any pre-connection.
BTW, is this a publicly viewable WSDL -- i.e. could I try to get it to see what is going on?
Also, have you verified that tls does actually load via package require?
--
+--------------------------------+---------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
.
- Follow-Ups:
- Re: Webservice package over https with authorization
- From: Jens Haines
- Re: Webservice package over https with authorization
- References:
- Webservice package over https with authorization
- From: Jens Haines
- Webservice package over https with authorization
- Prev by Date: worker thread status
- Next by Date: Re: Domain scokets? ceptcl?
- Previous by thread: Webservice package over https with authorization
- Next by thread: Re: Webservice package over https with authorization
- Index(es):