Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53224 > unrolled thread

Question about XMLRPC

Started byi.sheeha@gmail.com
First post2013-08-29 00:28 -0700
Last post2013-08-30 16:29 +0300
Articles 5 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  Question about XMLRPC i.sheeha@gmail.com - 2013-08-29 00:28 -0700
    Re: Question about XMLRPC Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2013-08-29 23:54 +1200
      Re: Question about XMLRPC Ferrous Cranus <nikos@superhost.gr> - 2013-08-29 15:35 +0300
        Re: Question about XMLRPC Ferrous Cranus <nikos@superhost.gr> - 2013-08-29 18:30 +0300
          Re: Question about XMLRPC Ferrous Cranus <nikos@superhost.gr> - 2013-08-30 16:29 +0300

#53224 — Question about XMLRPC

Fromi.sheeha@gmail.com
Date2013-08-29 00:28 -0700
SubjectQuestion about XMLRPC
Message-ID<a0d8b20f-6034-47ef-893d-b501204ffbac@googlegroups.com>
Hello, 
I should write a python script(s) that listens to an existing XMLRPC service on my company's dev server.My utility should take some data from that XMLRPC, send it to an online xml service provider(it's something about hotel accomodation, where they have xml patterns for different requests), then they return their response to me, also in xml data interchange format.then i should parse that and return to the existing XML-RPC, or write the parsed data to the Posgresql database.The thing is, i know something about XML parsing, i know also something about XMLRPC, but i'm not permitted to edit the existing XMLRPC service.Can anyone just tell me what is the shortest and the best solution for this problem?

[toc] | [next] | [standalone]


#53240

FromGregory Ewing <greg.ewing@canterbury.ac.nz>
Date2013-08-29 23:54 +1200
Message-ID<b88r44Fs95pU1@mid.individual.net>
In reply to#53224
i.sheeha@gmail.com wrote:

> I should write a python script(s) that listens to an existing XMLRPC 
> service on my company's dev server.

> then i should parse that and return to the existing XML-RPC,
 > or write the parsed data to the Posgresql database.

> but i'm not permitted to edit the existing XMLRPC service.

It's not clear exactly what you mean by this. Are you trying
to intercept XMLRPC requests sent to an existing service and
do something different with them?

To do that without modifying the existing service, you would
need to change your web server's configuration to redirect
the url of the service to a handler of your own. Are you
able to do that, or get your administrators to do it?

-- 
Greg

[toc] | [prev] | [next] | [standalone]


#53241

FromFerrous Cranus <nikos@superhost.gr>
Date2013-08-29 15:35 +0300
Message-ID<kvnf6r$jjv$1@news.grnet.gr>
In reply to#53240
Στις 29/8/2013 2:54 μμ, ο/η Gregory Ewing έγραψε:
> i.sheeha@gmail.com wrote:
>
>> I should write a python script(s) that listens to an existing XMLRPC
>> service on my company's dev server.
>
>> then i should parse that and return to the existing XML-RPC,
>  > or write the parsed data to the Posgresql database.
>
>> but i'm not permitted to edit the existing XMLRPC service.
>
> It's not clear exactly what you mean by this. Are you trying
> to intercept XMLRPC requests sent to an existing service and
> do something different with them?
>
> To do that without modifying the existing service, you would
> need to change your web server's configuration to redirect
> the url of the service to a handler of your own. Are you
> able to do that, or get your administrators to do it?
>
test

-- 
Webhost <http://superhost.gr>

[toc] | [prev] | [next] | [standalone]


#53249

FromFerrous Cranus <nikos@superhost.gr>
Date2013-08-29 18:30 +0300
Message-ID<kvnpdv$cnq$1@news.grnet.gr>
In reply to#53241
Στις 29/8/2013 3:35 μμ, ο/η Ferrous Cranus έγραψε:
> Στις 29/8/2013 2:54 μμ, ο/η Gregory Ewing έγραψε:
>> i.sheeha@gmail.com wrote:
>>
>>> I should write a python script(s) that listens to an existing XMLRPC
>>> service on my company's dev server.
>>
>>> then i should parse that and return to the existing XML-RPC,
>>  > or write the parsed data to the Posgresql database.
>>
>>> but i'm not permitted to edit the existing XMLRPC service.
>>
>> It's not clear exactly what you mean by this. Are you trying
>> to intercept XMLRPC requests sent to an existing service and
>> do something different with them?
>>
>> To do that without modifying the existing service, you would
>> need to change your web server's configuration to redirect
>> the url of the service to a handler of your own. Are you
>> able to do that, or get your administrators to do it?
>>
> test
>
test

-- 
Webhost <http://superhost.gr>

[toc] | [prev] | [next] | [standalone]


#53294

FromFerrous Cranus <nikos@superhost.gr>
Date2013-08-30 16:29 +0300
Message-ID<kvq6ol$d4o$1@news.grnet.gr>
In reply to#53249
Στις 29/8/2013 6:30 μμ, ο/η Ferrous Cranus έγραψε:
> Στις 29/8/2013 3:35 μμ, ο/η Ferrous Cranus έγραψε:
>> Στις 29/8/2013 2:54 μμ, ο/η Gregory Ewing έγραψε:
>>> i.sheeha@gmail.com wrote:
>>>
>>>> I should write a python script(s) that listens to an existing XMLRPC
>>>> service on my company's dev server.
>>>
>>>> then i should parse that and return to the existing XML-RPC,
>>>  > or write the parsed data to the Posgresql database.
>>>
>>>> but i'm not permitted to edit the existing XMLRPC service.
>>>
>>> It's not clear exactly what you mean by this. Are you trying
>>> to intercept XMLRPC requests sent to an existing service and
>>> do something different with them?
>>>
>>> To do that without modifying the existing service, you would
>>> need to change your web server's configuration to redirect
>>> the url of the service to a handler of your own. Are you
>>> able to do that, or get your administrators to do it?
>>>
>> test
>>
> test
>
test

-- 
Webhost <http://superhost.gr>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web