[
Lists Home |
Date Index |
Thread Index
]
I think you will need to post some sample code, and more details of your
setup to get any meaningful help. I can say, though, that we are doing
something similar to you - Server A is an ASP page under IIS, Server B is
perl CGI on Apache, and everything seems to be working well, and fast. I
did hear a rumour that serverXMLHTTP is very slow if the two "server"s are
in fact on the same server - i.e. if you have two ASP pages trying to talk
to each other on the same server - but I haven't done this myself so can't
comment.
Sorry I can't be of more help,
David.
> -----Original Message-----
> From: Karl Stubsjoen [mailto:karl@azprogolf.com]
> Sent: Thursday, August 15, 2002 11:17 AM
> To: Xml-Dev
> Subject: [xml-dev] XMLHTTP Posts and performance
>
>
> Hello,
>
> I have two questions, one regarding the peformance of a
> serverXMLHttp post and the other refering to the XML being posted.
>
> First, the performance issue:
>
> I post XML data from one server to another, utilizing XML as
> a method to transport batches of data. Server(A) reads in an
> XML doc, then passes it to Server(B) using the serverXMLHTTP
> objects and methods of MSXML2. Server(B) then (requests) the
> posted XML and does what it does with it. All works great,
> except it is very slow.... What is going on here, what is
> making this bugger go so slow? So far, I have only tested
> this script with very simple XML docs, I'm affraid to test it
> with a large one!
>
>
> Second, the XML document:
>
> The XML I have constructed is a avery simple (see below). I
> generate the XML on Server(A) in code, and then pass it to
> Server(B). On Server(B), when I read the XML document, I
> have to read it from a posted form value because if I perform
> a true "binary" (request) of the XML document, it screws up
> my other code which is looking for form variables. My "Send"
> method looks like this:
>
> xmHttp.send "POST","xml=" & my_xml_doc,FALSE
>
> On Server(B), I then read the XML document like this:
>
> xm.LoadXML request.form("XML")
>
> Okay, so this all works, untill I add the <?xml version="1.0"
> encoding="UTF-8"?> processing instruction (with and without
> the encoding, still doesn't work). The behaviour is strange,
> after a few tests, Server(B) is not able to receive any XML.
> Do you all want to see code? Visit a site to test it? This is weird.
>
> At this point, my confidence is shaken and I'm not sure what
> is the correct way to form a POST and a Request for XML data.
>
> Thanks for the help.
> Karl
>
---------------------------------------
The information contained in this e-mail message, and any attachment thereto, is confidential and may not be disclosed without our express permission. If you are not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or copying of this message, or any attachment thereto, in whole or in part, is strictly prohibited. If you have received this message in error, please immediately notify us by telephone, fax or e-mail and delete the message and all of its attachments. Thank you.
Every effort is made to keep our network free from viruses. You should, however, review this e-mail message, as well as any attachment thereto, for viruses. We take no responsibility and have no liability for any computer virus which may be transferred via this e-mail message.
|