I don't think you need it in C. RPG doesn't handle java objects very well. The RPG program retains a reference to the object such that the garbage collecter can't clear it from memory. C can play around with the object without hanging on to a reference.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of James H. H. Lampert
Sent: Wednesday, October 27, 2010 2:44 PM
To: 'Midrange Systems Technical Discussion'
Subject: IWS (client) issue with "destroyResult" function

Fellow Geeks:

The "ConvertTemp" client example (from the IWS tutorial) provided (and
called) a procedure (actually, a C void function), "Axis_Delete_CONVERTTEMPResult" (renamed "destroyResult" in the RPG
source) to delete the "result" stored in the web service client engine, once the calling RPG program had read it.

But when I generated C stub source for our customer's web service, nothing remotely comparable was generated.

Can anybody explain what's going on? What (if anything) I need to do after calling the web service, in order to avoid creating memory leaks?

--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.