[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] Problem accessing xmlblaster with xmlrpclib and Python



Great !
I prefer that.
If wasn't that, a long strange debug session should be started ... ;o{

Regards,
Cyrille.


Asmund.Hjulstad at ffi.no a écrit:

You where right, I was talking to the wrong port.

(oopps... feeling really stupid. :-/  )

If there still isn't a python xmlrpc callback example, I'll provide
one as soon as I get it working.

Thanks.

Åsmund.

-----Original Message-----
From: Cyrille Giquello [mailto:cyrille at ktaland.com]
Sent: 17. juli 2002 13:53
To: xmlblaster at server.xmlblaster.org
Subject: Re: [xmlblaster] Problem accessing xmlblaster with xmlrpclib
and Python


hello,

the error
    > "Invalid method in client request: 'POST /RPC2 HTTP/1.0'"
looks like a xml-rpc protocol error. But the request seems to be well
formed...

Are you speaking on the right port ? The xml-rpc server port (default :
8080)
and not to the IOR http server ?

If port are OK :
Perhaps can you make a test with xml-rpc only by lauching the Java
xml-rpc server, without xmlBlaster
and try to call it from Python.

Cyrille


Asmund.Hjulstad at ffi.no a écrit:

>
> Well, I get identical error messages whatever method I call, even
> if it doesn't exist.
> (The error message is from the xmlblaster output log).
>
> I also get the same message trying to run the python demo in the
> xmlblaster
> distribution. The java test runs just fine.
>
>
> Åsmund
>
>
> -----Original Message-----
> From: Heinrich Götzger [mailto:Heinrich.Goetzger at exploding-systems.de]
> Sent: 17. juli 2002 13:08
> To: xmlBlaster List
> Subject: Re: [xmlblaster] Problem accessing xmlblaster with xmlrpclib
> and Python
>
>
> I'm not sure, but could this be due to the replacement of login by
> connect?
>
> If you use connect, you should try to provide a ConnectQos as Argument.
>
> Hope this helps
>
> regards
>
> Heinrich
>
>
>
> On Wed, 17 Jul 2002 Asmund.Hjulstad at ffi.no wrote:
>
> >
> > I'm getting an error message I don't understand:
> >
> > "Invalid method in client request: 'POST /RPC2 HTTP/1.0'"
> >
> > I'm using xmlBlaster v0.79f, python 2.2.1.
> > Also tried with python 2.0.1 with xmlrpclib 0.9.8 and 0.9.9.
> >
> > The python source code:
> >
> > import xmlrpclib
> > s = "http://hostname:3412";
> > se = xmlrpclib.Server(s)
> > se.authenticate.login("x","x","<qos></qos>","")
> >
> > Any help appreciated.
> >
> >
>

--
 -----------------------------------------
  Cyrille Giquello <cyrille at ktaland.com>
  tel : 331/01 49 17 40 93

  KTALAND
  Batiment 104
  50 av. du president Wilson
  93210 La Plaine Saint-Denis

http://www.ktaland.com/
-----------------------------------------
Encryption | Duncan Campbell | DST | Blacklisted 411 | ECHELON | 2600 | PGP | Corsica | NSA





-- ----------------------------------------- Cyrille Giquello <cyrille at ktaland.com> tel : 331/01 49 17 40 93

 KTALAND
 Batiment 104
 50 av. du president Wilson
 93210 La Plaine Saint-Denis

 http://www.ktaland.com/
-----------------------------------------
Encryption | Duncan Campbell | DST | Blacklisted 411 | ECHELON | 2600 | PGP | Corsica | NSA