Trouble with wsdl file
by Tom Caldwell
I've been trying to get the following wsdl url to work.
https://fuzeflow.fuzenetwork.com:4389/fuzeflow.wsdl
The following is the code snippet, I've been using.
from suds.client import Client
client = Client('https://fuzeflow.fuzenetwork.com:4389/fuzeflow.wsdl')
I get the following stack trace:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/home/tom/projects/soap_serv/lib/python2.6/site-packages/suds/client.py",
line 111, in __init__
self.wsdl = reader.open(url)
File
"/home/tom/projects/soap_serv/lib/python2.6/site-packages/suds/reader.py",
line 136, in open
d = self.fn(url, self.options)
File
"/home/tom/projects/soap_serv/lib/python2.6/site-packages/suds/wsdl.py",
line 159, in __init__
self.build_schema()
File
"/home/tom/projects/soap_serv/lib/python2.6/site-packages/suds/wsdl.py",
line 220, in build_schema
self.schema = container.load(self.options)
File
"/home/tom/projects/soap_serv/lib/python2.6/site-packages/suds/xsd/schema.py",
line 94, in load
child.dereference()
File
"/home/tom/projects/soap_serv/lib/python2.6/site-packages/suds/xsd/schema.py",
line 316, in dereference
midx, deps = x.dependencies()
File
"/home/tom/projects/soap_serv/lib/python2.6/site-packages/suds/xsd/sxbasic.py",
line 235, in dependencies
raise TypeNotFound(self.ref)
suds.TypeNotFound: Type not found: '(Array,
http://schemas.xmlsoap.org/soap/encoding/, )'
I'd appreciate any help.
Thanks,
Tom
13 years
Undelivered Mail Returned to Sender
by Mail Delivery System
This is the mail system at host mail.vibrantasia.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<we(a)themes.org>: Name service error for name=themes.org type=MX: Malformed or
unexpected name server reply
13 years, 1 month
Re: [Fedora-suds-list] plugin API and 0.4 status (Jeff Ortel)
by Glen Walker
Hi Jeff,
Thanks for the good work on plugin API version 2. The version 2 API does very well to handle the needs outlined in ticket 334 (https://fedorahosted.org/suds/ticket/334), and much more besides.
After a bit more work using the somewhat troublesome SOAP interface provided by a vendor, and more experience using the suds plugin API, I have a bit more feedback, which I have put into a new ticket (https://fedorahosted.org/suds/ticket/347).
In the interests of saving you time I have attached patches that should help in updating the API, if you find them to be suitable. These patches actually represent changes to suds that I am successfully using against the vendor SOAP interface already (although not in full production as yet).
Regards,
Glen
------------------------------
Date: Tue, 24 Aug 2010 10:16:52 -0500
From: Jeff Ortel <jortel(a)redhat.com>
Subject: [Fedora-suds-list] plugin API and 0.4 status
To: suds(a)lists.fedoraproject.org
Message-ID: <4C73E264.5010309(a)redhat.com>
Content-Type: text/plain; charset="iso-8859-1"
All,
Again, sorry for the delay on getting 0.4 out the door. The hold up has been solidifying
the plugin API. Based on comments (and me looking at it cocking my head back and forth
like a dog), I decided to define and implement version 2 as defined here:
https://fedorahosted.org/suds/wiki/Documentation#Version2. It is slightly more complex
but provides for more hooks. IMHO, migration from v1 to v2 should be trivial for most of
you early adopters. I hope this represents *all* of your awesome suggestions. If I
missed one, sorry. Please bring it to my attention.
Baring any outrage or show-stopper bugs, I'd like to release 0.4 GA at the end of this
week. Comments?
I've released in 0.4 beta so you can give it a try.
Regards,
Jeff
This email and attachments: are confidential; may be protected by privilege and copyright; if received in error may not be used, copied, or kept; are not guaranteed to be virus-free; may not express the views of Kordia(R); do not designate an information system; and do not give rise to any liability for Kordia(R).
13 years, 1 month
Re: [Fedora-suds-list] plugin API and 0.4 status (Jeff Ortel)
by Glen Walker
Hi Jeff,
Thanks for the good work on plugin API version 2. The version 2 API does very well to handle the needs outlined in ticket 334 (https://fedorahosted.org/suds/ticket/334), and much more besides.
After a bit more work using the somewhat troublesome SOAP interface provided by a vendor, and more experience using the suds plugin API, I have a bit more feedback, which I have put into a new ticket (https://fedorahosted.org/suds/ticket/347).
In the interests of saving you time I have attached patches that should help in updating the API, if you find them to be suitable. These patches actually represent changes to suds that I am successfully using against the vendor SOAP interface already (although not in full production as yet).
Regards,
Glen
------------------------------
Date: Tue, 24 Aug 2010 10:16:52 -0500
From: Jeff Ortel <jortel(a)redhat.com>
Subject: [Fedora-suds-list] plugin API and 0.4 status
To: suds(a)lists.fedoraproject.org
Message-ID: <4C73E264.5010309(a)redhat.com>
Content-Type: text/plain; charset="iso-8859-1"
All,
Again, sorry for the delay on getting 0.4 out the door. The hold up has been solidifying
the plugin API. Based on comments (and me looking at it cocking my head back and forth
like a dog), I decided to define and implement version 2 as defined here:
https://fedorahosted.org/suds/wiki/Documentation#Version2. It is slightly more complex
but provides for more hooks. IMHO, migration from v1 to v2 should be trivial for most of
you early adopters. I hope this represents *all* of your awesome suggestions. If I
missed one, sorry. Please bring it to my attention.
Baring any outrage or show-stopper bugs, I'd like to release 0.4 GA at the end of this
week. Comments?
I've released in 0.4 beta so you can give it a try.
Regards,
Jeff
This email and attachments: are confidential; may be protected by privilege and copyright; if received in error may not be used, copied, or kept; are not guaranteed to be virus-free; may not express the views of Kordia(R); do not designate an information system; and do not give rise to any liability for Kordia(R).
13 years, 1 month
SOAP with attachements
by Stephane Kanschine
Hi,
I begin to use suds (0.4.0) yesterday and this is just awesome, by its
simplicity and its effectiveness. I tame a complex SOAP service (the
complexiest for me at this time) in less than 24 hours, where other
modules just fail.
The only thing that i have to do, is to manage a SOAP with attachement
message. A Content-Type: Multipart/Related HTTP response, with a SOAP
part and a binary part. Multipart/Related is describe in the RFC 2387.
This is the same thing that email attachements :
http://www.w3.org/TR/SOAP-attachments
I parse the archives and see some questions about this, but none of
them posted a solution. As i need to save the binary part, i'll
develop it. But i don't have enough experience with suds to find the
smartest way to implement this and to put in docs or other.
If you have any suggestions (MessagePlugin.received(), u2opener,
patch, other), be my guest.
Regards,
--
"If knowledge can create problems, it is not through ignorance that we
can solve them." Isaac Asimov
13 years, 1 month
Basic authentication and getting wsdl
by Jerry Davis
We recently turned on Basic Authentication for our service.
I can login ok, IF I have the wsdl as a file. However, if I try to get the
wsdl using url + '?wsdl' it fails miserably.
In desperation I have create the following function:
from urllib import *
from urllib2 import *
...
def getWSDL(url, realm, filename, user, pwd):
auth = HTTPBasicAuthHandler()
auth.add_password(realm, url, user, pwd)
opener = build_opener(auth)
u = opener.open(url)
response = u.read()
u.close()
f = open(filename, 'wb')
f.write(response)
f.close()
getWSDL(url + '?wsdl', 'myrealm', 'myservice.wsdl', user, pwd)
Then I can get the wsdl file, and do the client create.
Is there a better way than this?
Jerry
13 years, 1 month
plugin API and 0.4 status
by Jeff Ortel
All,
Again, sorry for the delay on getting 0.4 out the door. The hold up has been solidifying
the plugin API. Based on comments (and me looking at it cocking my head back and forth
like a dog), I decided to define and implement version 2 as defined here:
https://fedorahosted.org/suds/wiki/Documentation#Version2. It is slightly more complex
but provides for more hooks. IMHO, migration from v1 to v2 should be trivial for most of
you early adopters. I hope this represents *all* of your awesome suggestions. If I
missed one, sorry. Please bring it to my attention.
Baring any outrage or show-stopper bugs, I'd like to release 0.4 GA at the end of this
week. Comments?
I've released in 0.4 beta so you can give it a try.
Regards,
Jeff
13 years, 1 month