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
Ne big party--a reception, I think. Our drawing-room has ne
by Lartey Emshoff
Was not particularly fond of opposition, and began to look annoyed.
She thought Percy was beginning to sit on her a little too much.
"Well," he said, "I shall
not dine out with you and Madeline first: I don't care to. But I'll
hire an electric motor
for you at eleven, and it shall fetch you at twelve-thirty. If
Madeline doesn't want to come then, she can easily go back
alone. It isn't far for her." "Oh, she won't want to stop any longer
than that." "Oh, very well, we'll leave it like that. I shall dine at
the club." "It's unkind of you. I believe you don't
want to see me start." "You're quite right. I hate the idea of your
appearing there in
your lovely new dress. I suppose you want to wear it?" "Oh,
I don't care in the least," she answered, "if
you'd rather not." "Oh,
hang it! Wear what you like," he answered rather crossly. * * * * *
She did not see
him again before she started, and, naturally, being a woman, she put
on the new dress. It was pale yellow, and she
knew Percy w
13 years
He held
by Buffalo Radatz
but in the same instant the captain seized him. "Stop!" he cried.
"What is it?" The African shouted: "Mok's people! Mok knowed them.
Look! Look--see! Mok!" The party was now
near enough and the day was bright enough for the captain to see that
on the lower ground beyond the plateau there were five black men in a
state of mad excitement. He could hear them jabbering away at a great
rate. So far as he could discover, they were all unarmed, and as they
stood there gesticulating, the captain
might have shot them down in a bunch, if he had chosen. "Go," said he
to Maka, "go down
there and see what it all means." The captain now stepped back into
the passage. He could see Miss Markham and Ralph peering
out of the doorway of the first compartment. "There does not seem to
be
any danger so far," said he. "Some more Africans
have turned
up. Maka has gone to
meet them. We shall find out about them in a few minutes," and he
turned back to the entrance. He saw that the six black fellows
were coming toward him, and, as he had thought, they carried no guns.
CHAPTER IX AN AMAZING NARRATION When
the captain had gone out again into the open air, he was followed by
the rest of the part
13 years
WSDL is valid but have error TypeNotFound: Type not found:
by Passmore, James H.
suds version 0.4
I am trying the following code to connect to a WSDL
import suds
url = 'http://neptune.badc.rl.ac.uk:8180/discovery/dpws?wsdl'
client = suds.client.Client(url)
But I get error:
DEBUG:suds.wsdl:reading wsdl at: http://neptune.badc.rl.ac.uk:8180/discovery/dpws?wsdl ...
DEBUG:suds.transport.http:opening (http://neptune.badc.rl.ac.uk:8180/discovery/dpws?wsdl)
Traceback (most recent call last):
File "<pyshell#8>", line 1, in <module>
client = suds.client.Client(url)
File "/usr/local/lib/python2.6/dist-packages/suds/client.py", line 112, in __init__
self.wsdl = reader.open(url)
File "/usr/local/lib/python2.6/dist-packages/suds/reader.py", line 152, in open
d = self.fn(url, self.options)
File "/usr/local/lib/python2.6/dist-packages/suds/wsdl.py", line 159, in __init__
self.build_schema()
File "/usr/local/lib/python2.6/dist-packages/suds/wsdl.py", line 220, in build_schema
self.schema = container.load(self.options)
File "/usr/local/lib/python2.6/dist-packages/suds/xsd/schema.py", line 95, in load
child.dereference()
File "/usr/local/lib/python2.6/dist-packages/suds/xsd/schema.py", line 323, in dereference
midx, deps = x.dependencies()
File "/usr/local/lib/python2.6/dist-packages/suds/xsd/sxbasic.py", line 674, in dependencies
raise TypeNotFound(self.ref)
TypeNotFound: Type not found: '(namespaceURI, http://ejb.revitalization.services.ndg/, )'
oXygen tells me the WSDL is valid, and I can use the WSDL SOAP analyser to fire off a test request with no problem.
I understand that there is doctor class to fix broken schemas I just don't know what's broken to be fixed.
Any help greatly appreciated
many thanks
James
--
This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.
13 years
Re: [Fedora-suds-list] Electric escooter motorcycle/ Manufacturer/Wal-mart\'s supplier!!
by webmaster@example.com
Website: http://blog.sina.com.cn/ecoscooter
Glad to hear that you\'re on the market for E-vehicle.
We specialize in manufacturing high quality Electric scooter,emotorcycle,ebike for 12 years . models have EEC COC(EU), DOT(USA)Approved.
We\'re the supplier of Wal-mart, and already passed the FE from them.
MOQ no limited.Price,Catalog will send to you.
Any questions, PLS contact me freely. Thanks!!
reply to EMAIL: ecoscooter(a)qq.com
Dont reply to webmaster(a)example.com
------------------
Best.regards
Gene
General Manager
ZheJiang Haoren Electric Vehicle Co., Ltd.
Skype: okgenehjp (online)
Any questions, contact me freely. Thank you!
13 years
ope that is--I
by Woodward Caston
Ountain, runs the sinuous path, winding through the deep ditches
filled with rain-water. Here and there are piled heaps of dust and
other rubbish--either refuse
or else put there purposely to keep the rain-water from flooding the
houses.
On the top of the mountain, among
green gardens with dense foliage,
beautiful stone houses lie hidden; the belfries of the churches rise
proudly
towards
the sky, and their gilded crosses shine beneath the rays of the sun.
During the rainy weather the neighbouring
town pours its water into this main road, which, at other times, is
full of its dust, and all these miserable houses seem, as it were,
thrown by some powerful hand into that heap of dust, rubbish, and
rain-water. They cling to the ground beneath the high mountain,
exposed to the sun, surrounded by decaying refuse, and their sodden
appearance impresses one with the same feeling as would the
half-rotten trunk of an old tree. At the end
of the main street,
as if thrown out of the town, stood
a two-storied house, which had been rented from Petunikoff, a
merchant and resident of the town. It was in comparatively
good order, being further from the mountain, while
near it were the open fields, and about half-a-mile away the river
ran its winding course. This large old house had the most dismal
aspect amidst its surroundings. The walls bent
outwards and there was hardly a pane of glass in any of the windows,
except some of the fragments which looked like the water of the
marshes--dull green.
The spaces of wall between the windows
were covered with spots, as if time were trying to write there
in hieroglyphics the history of the old house, and the tottering roof
added still more to its pitiable condition.
It
13 years
Contribute to ticket 316
by Paolo Mossino
Hello,
my name is Paolo Mossino, using SUDS, I discover a problem in method
failed of suds/client.py file.
It seems to be the same problem as reported by ticket 316 (
https://fedorahosted.org/suds/ticket/316).
Sorry to disturb here, but I was unable to add my contributes via online
ticketing system.
The link for creating a new ticket (link
https://fedorahosted.org/suds/newticket) fails since I've not enouth
permissions ("*TICKET_CREATE privileges are required to perform this
operation*"). I also try to create a Fedora account, but I'm not able to
found a way to submit a bug to SUDS from the fedoraproject.org web
interface.
I want to contribute to this ticket by adding a use cases for the bug and
proposing a patch.
I discover this bug trying to connect to a WSDL protected by basic HTTP
authentication, but providing wrong credentials.
As reported by ticket 316, the bug is at the beginning of method failed
(comments pruned, problem in *bold*):
def failed(self, binding, error):
> status, reason = (error.httpcode, tostr(error))
> * reply = error.fp.read()*
>
The code try to read from error.fp without checking if it's None.
If I understand correctly, this information is mainly used for providing
information to the exception raised... this means that we can simply and
safely provide a default (empty?) value if fp is None.
My patch proposal is simple:
- reply = error.fp.read()
+ if error.fp is None:
+ reply = ''
+ else:
+ reply = error.fp.read()
Thank you in advance and Kind Regards,
--
Dr. Paolo Mossino <paolo.mossino(a)gmail.com>
13 years