Re: Which is the most mature Soap module?
From: John J Lee (jjl_at_pobox.com)
Date: 06/04/04
- Next message: Mickel Grönroos: "RE: Which is the most mature Soap module?"
- Previous message: Chuck Amadi: "Simple Python script to read and output MailBox body to a file"
- Maybe in reply to: Mickel Grönroos: "Which is the most mature Soap module?"
- Next in thread: Mickel Grönroos: "RE: Which is the most mature Soap module?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 4 Jun 2004 12:42:45 +0100 (GMT Daylight Time) To: Mickel Grönroos <mickel@csc.fi>
On Fri, 4 Jun 2004, [ISO-8859-1] Mickel Grönroos wrote:
> The following is a rather long message. Here is a summary of my questions
> below:
>
> 1. ZSI fails on a TypeError when using ZSI.ServiceProxy, why?
dunno -- it's a while since I used it. Is that part of the WSDL stuff?
All that (which is common code between ZSI and SOAPpy) was pretty flaky
when I tried it.
> 2. Is there a way to use cookie authentification with SOAPpy
> (client-side)?
Yes, no reason why not to use my ClientCookie package to do that, but I
don't know from memory exactly where you need to insert the required code
in SOAPpy. I'm slightly surprised if SOAP needs cookie handling, but not
entirely, since I know it is required for some XML-RPC services.
[...]
> 2. Second, I need to upload a local file to a specific place on the server
> using the cookie as authentification.
[...]
> TypeError: an integer is required
> >>>
>
> Any ideas what this might be? I gather I would need to set the port to 443
> somewhere, but I can't find the right place.
No idea without digging, sorry. As I say, WSDL support is definitely
flaky, so it's always possible you've just hit a bug.
> The second part, i.e. the upload, is trickier. Using SOAP::Lite in Perl,
> one can specify a cookie to use for authentification, but I can seem to
> find that in the documentation of SOAPpy. So how do I do cookie
> authentification with SOAPpy (or ZSI for that matter)??
[...]
> -> proxy('http://services.xmethods.net/soap/servlet/rpcrouter',
> cookie_jar => HTTP::Cookies->new(ignore_discard => 1));
>
> print $soap->echoString('Hello')->result;
>
> I need something like that 'cookie_jar' parameter in SOAPpy too. Help and
> thanks!
I might have a look this weekend, but don't promise.
John
- Next message: Mickel Grönroos: "RE: Which is the most mature Soap module?"
- Previous message: Chuck Amadi: "Simple Python script to read and output MailBox body to a file"
- Maybe in reply to: Mickel Grönroos: "Which is the most mature Soap module?"
- Next in thread: Mickel Grönroos: "RE: Which is the most mature Soap module?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|