HI all I am working on an VB.NET client side application that sends requests in XML-RPC to a Zope server running on Linux(Mandrake 8.0) The request calls a python script and it returns a String . But when there are multiple requests (i.e; from different machines on the network) .the XmlRPc Server throws an XML RPC Fault Error. Does XML-RPC Server maintain a record of the IP address of the client machine that sent the request so that it can respond back to the same machine? I am confused as to how exactly the Xml Rpc Server understands where the response is to be sent. Is the error arising because the Server is not sending the response back to the Client from which the request came. I am capturing the IP of the machine from which the request comes and so am able to track if the request comes from a particular machine. 1) I want to clarify if I have to explicitly send the response to the client with respect to the IP I have captured...IF so how can I do this with the exisiting xmlrpc library.Where can I specify which machine the response is to be sent to. 2)Can I send a response to a machine other than the machine from which the request came? 3)Is request and response automatically handled by the XMl RPC server? Help in any form is appreciated. Thanks and Best Regards John Kunchandy --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003
Hi all i'd like to access objects, that exist only in version. is there a way to do that via ftp interface? regards dan -- dan meszaros <dm@petamem.com>; programmer; PetaMem, s.r.o., Drahobejlova 0x1b, 0x4268 Praha 0x9, Ceska republika; tel:+ 42029654 2334; fax:+420 2 9654 2335; http://www.petamem.com
http://www.zope.org/Members/htrd/howto/VersionFTPServer --On Mittwoch, 29. Jänner 2003 10:56 +0100 Dan Meszaros <dm@petamem.com> wrote:
Hi all
i'd like to access objects, that exist only in version. is there a way to do that via ftp interface?
regards dan
-- Those who write software only for pay should go hurt some other field. /Erik Naggum/
Zope@Stylus wrote at 2003-1-29 14:08 +0530:
I am working on an VB.NET client side application that sends requests in XML-RPC to a Zope server running on Linux(Mandrake 8.0) The request calls a python script and it returns a String . But when there are multiple requests (i.e; from different machines on the network) .the XmlRPc Server throws an XML RPC Fault Error. The 2.6 "xmlrpc.py" file provides support for a traceback. It will tell you about the location and cause of the exception.
I think, I posted a patch with similar functionality for Zope 2.5.1. Search the archives...
Does XML-RPC Server maintain a record of the IP address of the client machine that sent the request so that it can respond back to the same machine? No, it does not.
TCP/IP connections (and therefore HTTP and XML-RPC connections) are bi-directional. You can read and write to them. TCP/IP transparently handles the transport. (Of course, TCP/IP knows the IP address of both ends of the connection). Dieter
Hi Thanks for the insight into the working of XML-RPC I am still confused as to how exactly I can be assured of the response being sent back to the client from where the request came. Could you please help me out here. How exactly does the XML-RPC server know to which client the response is to be sent back ? Thanks once again Best Regards John Kunchandy : Zope@Stylus wrote at 2003-1-29 14:08 +0530: : > I am working on an VB.NET client side application that sends requests in : > XML-RPC to a Zope server running on Linux(Mandrake 8.0) : > The request calls a python script and it returns a String . : > But when there are multiple requests (i.e; from different machines on the : > network) .the XmlRPc Server throws an XML RPC Fault Error. : The 2.6 "xmlrpc.py" file provides support for a traceback. : It will tell you about the location and cause of the exception. : : I think, I posted a patch with similar functionality for Zope 2.5.1. : Search the archives... : : > Does XML-RPC Server maintain a record of the IP address of the client : > machine that sent the request so that it can respond back to the same : > machine? : No, it does not. : : TCP/IP connections (and therefore HTTP and : XML-RPC connections) are bi-directional. : You can read and write to them. TCP/IP transparently handles : the transport. (Of course, TCP/IP knows the IP address of both : ends of the connection). : : : : Dieter : : --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003
On Thu, 30 Jan 2003 10:48:52 +0530 "Zope@Stylus" <zope@stylusinc.net> wrote: Hi,
Hi
Thanks for the insight into the working of XML-RPC I am still confused as to how exactly I can be assured of the response being sent back to the client from where the request came. Could you please help me out here. How exactly does the XML-RPC server know to which client the response is to be sent back ?
XML-RPC works over HTTP, HTTP uses TCP/IP for data transport. TCP maintains a bidirectional transport session during the complete connect. Its simply: (connection open),client sends to server, waits for answer, server gets clients data, calculates response, server sends, clients gets response, (connection close) HTTP/1.1 (see rfc2616 on faqs.org) even allows reusing of connections and so on. But in basic it works like described above. Thats true for all TCP based protocolls, for example mail (smtp), ftp, HTTP when used for web-pages in browsers, ssh, telnet, pop3, imap, ... HTH Tino Wildenhain
Thanks once again Best Regards John Kunchandy
: Zope@Stylus wrote at 2003-1-29 14:08 +0530: : > I am working on an VB.NET client side application that sends requests in : > XML-RPC to a Zope server running on Linux(Mandrake 8.0) : > The request calls a python script and it returns a String . : > But when there are multiple requests (i.e; from different machines on the : > network) .the XmlRPc Server throws an XML RPC Fault Error. : The 2.6 "xmlrpc.py" file provides support for a traceback. : It will tell you about the location and cause of the exception. : : I think, I posted a patch with similar functionality for Zope 2.5.1. : Search the archives... : : > Does XML-RPC Server maintain a record of the IP address of the client : > machine that sent the request so that it can respond back to the same : > machine? : No, it does not. : : TCP/IP connections (and therefore HTTP and : XML-RPC connections) are bi-directional. : You can read and write to them. TCP/IP transparently handles : the transport. (Of course, TCP/IP knows the IP address of both : ends of the connection). : : : : Dieter : :
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (5)
-
Dan Meszaros -
Dieter Maurer -
Stefan H. Holek -
Tino Wildenhain -
Zope@Stylus