|
use that address to send an e-mail from our RPG application to that user. I have compiled and have been trying to run my RPG interface test harness. I keep getting RNX0301, so I'm presuming there's something wrong with my CLASSPATH.
RNX0301 just means that Java reported an error to RPG. All Java exceptions are reported as RNX0301. The actual cause of the problem should be listed in the fill-in variables of the 2nd-level message text.
Can you please post the full error message that appears in your job log? Type DSPJOBLOG after the error occurs, and hit help on the "Java exception received when calling Java method" message so that you see the full 2nd-level
text.Then copy the message text here (or better yet, on the RPG400-L list -- since the JAva portion must be working if you can run it from QShell, this would be an RPG question.)
* The class (Service.class) is contained in the following folder structure (from root). Sorry about the depth: /java/leo/au/com/web/webservices/userdb/client/
I assume that there's a package in effect here? package au.com.web.webservices.userdb.client, maybe?
d getUser PR O EXTPROC(*JAVA d :'au.com.eigansvar.- d web.webservices.userdb.client.- d Service' d : 'getUserByUserName')
This doesn't match what you said above. You saidau.com.web.webservices.userdb.client.Service, but the above prototype lists au.com.eigansvar.web.webservices.userdb.client.Service
Is that "eigansvar" supposed to be there?Can you please post the signature for the class you're trying to call? To find it, type the following QShell command:
javap -s au.com.eigansvar.web.webservices.userdb.client.ServiceIt will print all available methods (both static and non-static) for the Service class. Beneath the getUserByUserName method, it'll print a signature. That's what I'm looking for :)
Thanks
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.