wow
I got a reply within 3 minute... amazing!!!
Thank you Brodie, I will test it asap!
regards!
Pier
On Mon, Feb 15, 2010 at 11:58 AM, Brodie Thiesfield
<brofield+suds(a)gmail.com> wrote:
We do the same. Just use a file URL. This is some of my code.
# suds always creates the client from WSDL. Windows likes the URL to be
# like file:///C:/... while Linux likes file:///path/to/file.wsdl
wsdl = 'file:///'
if os.name != 'nt': wsdl = 'file://'
wsdl += os.path.abspath('../clsoap.wsdl').replace('\\', '/')
url = 'http://%s/clsoap/clsoap.cgi' % opt.server;
# timeouts
connect_timeout = 5 # 5 sec
send_recv_timeout = 60 # 60 sec
# create the client
socket.setdefaulttimeout(send_recv_timeout)
return suds.client.Client(wsdl, location=url, timeout=connect_timeout)
Cheers,
Brodie
On Mon, Feb 15, 2010 at 7:54 PM, pier carteri <pier.carteri(a)gmail.com> wrote:
> Hi to all,
> this is my firt post so, fist of all thank you for this awesome library!
> Back to my question...
> I' ve a soap server that does not expose wsdl (so no wsdl link available).
> Instead the wsdls are present in the web toolkit, so I have these
> files in my pc.
> As far as i can see the creation of the client needs an url where to
> grab the wsdl file, and this can not be a path on the filesystem..
> Is that correct?
> So I need a way to
> -load the wsdl definition from local file
> -specify the url where to send request
>
> How can I do it?
>
> Thank you!
> Regards!
> Pier
> _______________________________________________
> suds mailing list
> suds(a)lists.fedoraproject.org
>
https://admin.fedoraproject.org/mailman/listinfo/suds
>
_______________________________________________
suds mailing list
suds(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/suds