(short story: I have to call a webservice with WS-security from RPG..)
as I did find a pure/native RPG solution, I have easily generated a java
client using apache cxf ...
I can run the java class from qsh using something like java -cp
"/javalibs/*:.:./:/javarun/bin/:" MyClass "parameter"

I must call this class from RPG and I do not find any reference to generic
ClassPath support
ADDENVVAR CLASSPATH '/javalibs/*:.:./:/javarun/bin/:' do not work and
seems limited to 1024 chars...
I made some progress coding with putenv() ... but generic do not work and
I have more than a hundred of jar names to concatenate and this is a time
consuming work...
where I am lost in many lines of unreadable code .:;-
I am tempted to write a tool to build the classpath from a directory but I
feel I am reinventing the wheel ...

Is there any possibility to use a generic class path from RPG or
something like a MANIFEST? or any suggestion?

Many thanks
Paul

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