× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I have two separate RPG programs that call a Java method to return an XML
response. I use XML-INTO %Handler to parse the data out into a data
structure array. The programs are very similar, but are designed to handle
different information. Each of the data structure arrays contain many
fields, not all of which are used in every case (Example: Address1,
Address2, Address3 are all fields within the DS array, but not every address
has all three lines, so those would be blank)



Everything works fine, I send an XML request and receive an XML response and
my program puts the data into the appropriate fields within the data
structure array. The problem occurs when I call the first program and then
the second program consecutively. When I look at the DS array for the
second program, info that was received from the first program is 'leaking'
into the DS array for the second program (into fields that should be blank).
No data is being lost or put into incorrect fields, there is just 'extra'
data. For example, I have a field for comments. If there are no comments
for a particular occurrence in the array, it should just be blank, but in
some cases they contain a combination of many fields that were retrieved in
the call made in the first program.



These are 2 separate programs using their own procedures - I've checked that
the XML response I'm receiving does not contain this 'extra' data also. Any
ideas on what is happening or why??



Thanks

Karissa








As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.