No, the service I connect to is based upon JBOSS and has its own internal
authentication scheme.
This is really puzzeling.
Is there a way you can see the actual SOAP messages being exchanged? I could
try to compare the python and IE with a webtrace
-----Original Message-----
From: Joshua J. Kugler [mailto:joshua@eeinternet.com]
Sent: Monday, June 14, 2010 6:36 AM
To: suds(a)lists.fedoraproject.org
Cc: Kris Dom; fedora-suds-list(a)redhat.com
Subject: Re: Unable to open wsdl
On Friday 11 June 2010, Kris Dom elucidated thus:
Hi,
I am trying to do a very simple thing with SUDS but I think I am
missing the obvious (first time I use suds)
I have small program that tries to open a wsdl. When I execute the
program I am getting 'suds.transport.TransportError: HTTP Error 401:
Unauthorized'
Seems obvious but I specify username and pwd in the
code.
When use IE to go the wsdl, I get a pop-up asking me for the username
and pwd, I enter them, and the wsdl is displayed.
This is my code:
"
from suds import WebFault
from suds.client import Client
from suds.transport.http import HttpAuthenticated
t = HttpAuthenticated(username='admin', password='admin')
client =
Client('http://xxxx.xxx.xx.x:8080/axis2/services/UcmdbService?
<
http://www.google.com/url?sa=D&q=http://xxxx.xxx.xx.x:8080/axis2/ser
vices/U cmdbService%3F&usg=AFQjCNF2rIEb5grh6U1Ra-DHS4tBaZNXsQ> wsdl',
transport=t) "
It is possible the site is using NTLM authentication. See the suds docs
about that.
j
--
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key:
http://pgp.mit.edu/ ID 0x73B13B6A