in reply to Re^2: Scraping from ArcIMS Map
in thread [SOLVED] Scraping from ArcIMS Map

Tomcat7194:

Did you compare the request byte-by-byte to verify that it's identical? I'd try that first. (I'm not familiar with firebug, so I don't know how to view the results as a hex dump. I normally use something like Ethereal to capture the traffic...)

If the request is *identical* and you're not getting the correct result, there might be some session traffic (cookie or some such?) that needs to be handled. I'm not terribly experienced with HTTP traffic, so some other monk will have to chime in on that, if it's relevant.

...roboticus

Replies are listed 'Best First'.
Re^4: Scraping from ArcIMS Map
by Tomcat7194 (Novice) on Apr 07, 2009 at 20:18 UTC
    Turns out that this wasn't a matter of cookies or headers (I tried adding both to the request with no results). The functionality for sending the request was perfectly fine--it just turns out that trying to send the XML formatted as Utf-8 was messing things up.

    When I removed that from the XML, everything went through just fine, and the server spit out the right data.

    Tom