Hi, I am still in the reading phase and trying to get into xml-rpc to integrate zope with M$. As I look at the Products directory I see lots of functions written in a way depending on the REQUEST object containing all the data. Now If I call up a python method Can I assume that the REQUEST object is filled up with the parameters that I pass via XML-RPC? if so what is the mapping ( structs, arrays and base64 encoded data) ? Sedat Yilmazer Kibele Iletisim Sis. ve Serv. Ltd.
On Thu, 28 Jun 2001, Sedat Yilmazer wrote:
As I look at the Products directory I see lots of functions written in a way depending on the REQUEST object containing all the data. Now If I call up a python method Can I assume that the REQUEST object is filled up with the parameters that I pass via XML-RPC? if so what is the mapping ( structs, arrays and base64 encoded data) ?
No, you can't. You can however write your python methods in a way as to only use the REQUEST's dict interface, and pass a plain dict when calling through XML-RPC. Use for example REQUEST[x] = y and not REQUEST.set(x, y) HTH, Stefan
participants (2)
-
Sedat Yilmazer -
Stefan H. Holek