× 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.



Pete,

all parms for ProgramCall etc. are byte[] and you would have to convert your java vars to this binary stuff by the conevrsion routines of jtopen. For conveniance reasons, I use the Converter class, I mentioned in my last post. For the first var you would need abean like mentioned (you would find some of these here: https://sourceforge.net/p/appserver4rpg/codeSVN/HEAD/tree/appserver4rpg/src/de/bender_dv/ardgate/pords2pojo/ .

These beans could be written rather quick:
- define the private vars of the bean
- let Eclipse generate only the needed setXXX and getXXX methods
-- if the structure is used as input, you would need set methods for each element and a get method for the binary huddle
-- if it is coming back from the api call, you would need a set method for the binary huddle and getters for all components
- change the implementation of the generated methods
You will find some inspiration in the pords2pojo package of ArdGate.

Dieter



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.