471,090 Members | 1,387 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,090 software developers and data experts.

XML over HTTP

Hi,

A client is *not* able to use XML-RPC but *can* send plain XML over HTTP.
I will parse the XML myself and return appropriate response.

What do I need to do / use to serve the clients request? (synchronous)

Thanks,
Tertius
Jul 18 '05 #1
2 1850
Am Thu, 16 Sep 2004 03:50:53 -0700 schrieb Tertius:
Hi,

A client is *not* able to use XML-RPC but *can* send plain XML over HTTP.
I will parse the XML myself and return appropriate response.

What do I need to do / use to serve the clients request? (synchronous)


Hi,

You need httplib to send a http-request to the server.

On the server you need some http-server. You could use
CGIHTTPServer of the standard library.

You need a cgi-script which parses the request with e.g.
the library xml.sax. This script returns a string
which will be send to the client.

You should be able to solve by only using modules
from the standard library.

Happy Programming,

Thomas

Jul 18 '05 #2
Thomas Guettler wrote:
Am Thu, 16 Sep 2004 03:50:53 -0700 schrieb Tertius:

Hi,

A client is *not* able to use XML-RPC but *can* send plain XML over HTTP.
I will parse the XML myself and return appropriate response.

What do I need to do / use to serve the clients request? (synchronous)

Hi,

You need httplib to send a http-request to the server.

On the server you need some http-server. You could use
CGIHTTPServer of the standard library.

You need a cgi-script which parses the request with e.g.
the library xml.sax. This script returns a string
which will be send to the client.

You should be able to solve by only using modules
from the standard library.

Happy Programming,

Thomas


Thanks
Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Michael Foord | last post: by
8 posts views Thread by turnit \(removethis\) | last post: by
3 posts views Thread by ashesdesign | last post: by
5 posts views Thread by David Lozzi | last post: by
4 posts views Thread by Bob Badger | last post: by
1 post views Thread by zpinhead | last post: by
16 posts views Thread by Harry Simpson | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.