|
Hi,
Thanks for all the replies.
All of my<AS400> lines start with the first character, no spaces before.
Exactly like this:
<AS400>TOP
<AS400>AUTH
<AS400>MARK
<AS400>AUTHMARK
<AS400>ENDDAY
<AS400>BOTTOM
Subsequent lines (the XML content) are indented.
I tried moving the first and last lines of the XML content also to character 1. No impact.
I don't think all the XML has to start in character 1?
Here are all my beginning and ending tags. (I left out some of the XML fields for space sake)
<AS400>TOP
<?xml version="1.0" encoding="UTF-8"?>
<transRequest RequestCount=/%OCOUNT%/>
<AS400>AUTH
<newOrder BatchRequestNo=/%OCBCH#%/>
<industryType>/%OCINDS%/</industryType>
<comments>/%OCCOMM%/</comments>
</newOrder>
<AS400>MARK
<markForCapture BatchRequestNo=/%OCBCH#%/>
<txRefNum>/%OCTREF%/</txRefNum>
<terminalID>/%OCTRID%/</terminalID>
</markForCapture>
<AS400>AUTHMARK
<newOrder BatchRequestNo=/%OCBCH#%/>
<industryType>/%OCINDS%/</industryType>
<transType>/%OCTRTP%/</transType>
</newOrder>
<AS400>REFUND
<newOrder BatchRequestNo=/%OCBCH#%/>
<industryType>/%OCINDS%/</industryType>
</newOrder>
<AS400>ENDDAY
<endOfDay BatchRequestNo=/%OCBCH#%/>
<bin>/%OCCBIN%/</bin>
<merchantID>/%OCMRID%/</merchantID>
<terminalID>/%OCTRID%/</terminalID>
</endOfDay>
<AS400>BOTTOM
</transRequest>
To those who suggested different syntax: That's not how it was done in the CGIDEV2 sample programs,
I'm not sure why the syntax would have to be different.
Charlie
This mailing list archive is Copyright 1997-2026 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.