|
Probably the Content-type header isn't being sent. I don't use CGIDEV2, I use RPG xTools to do similar things, but I have no issues. Also make sure you don't include the encode keyword on the <?xml> tag as I find that it tends to mess things up a bit. -Bob Cozzi www.iSeriesTV.com iPod your industry news instead of reading it. Coming July 18, 2006 Ask your friends to tune into iSeriesTV.com -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Bruce Guetzkow Sent: Tuesday, June 20, 2006 11:56 AM To: web400@xxxxxxxxxxxx Subject: [WEB400] Ajax via RSP/CGIDEV2 All: I'm giving Ajax a try and after a bit of effort, everything is working, except that I'm not getting either the responseText or responseXML back from the server. My CGI program is executing (I can walk through it using debug) and I can see the XML document being created and written to the browser via QtmhWrStout. My call-back function is being called, but both the responseText and responseXML are null. The CGI program is created using RSP (RPG Server Pages) and it calls CGIDEV2 procedures to build the XML file (since CGIDEV2 has such nice features for this purpose). I've even tried simply using a test RSP program to create the XML. If I simply execute the test program outside of the Ajax Request, the XML document displays in the browser. If I then call it via the Ajax Request, the test program executes, but neither responseText nor responseXML is returned. I know an XML document is being created because if we use WrtHtmlToStmf, we can get a file on the IFS and it looks just the way we want. If we change to WrtSection('*fini'), nothing is returned. I'm wondering: - is there an Apache directive that needs to be set/changed? - is there a possibility of authority issues? Has anyone else run into this? Any thoughts? Thanks in advance, --Bruce Guetzkow
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.