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




Heh.

Um.

Well.

Yeah, that did it. After reading this email, I just signed on and ran it. Worked like a charm.

After the two days I've been banging my head on this...I'm not sure if I'm happy about that or not...lol

Thank you everybody for your help!







-----Original Message-----
From: Barbara Morris <bmorris@xxxxxxxxxx>
To: java400-l <java400-l@xxxxxxxxxxxx>
Sent: Tue, Mar 8, 2011 5:52 pm
Subject: Re: Signature mismatch when calling java prototype


On 2011/3/8 1:39 PM, mikemonger@xxxxxxx wrote:

Ok, here's what we've got so far. I'm still getting the same
oSuchMethod error, but the signatures still match.
...
callP Instantiate();
ResendOrder(ReturnMsg:string(wmfac):string(charOrd));
About the NoSuchMethodError, if you change your Java method, you have to
ign off and sign back on before the new version will be seen.
About your RPG calls, you have to get the value returned from the
nstantiate method by assigning the result of the method call to a
ariable. That gives you an instance of the ResendOrder class. And
hen you have to pass that instance as the first parameter to the
esendOrder method. To get the value returned from the ResendOrder
ethod, by assigning the result of the method call to a String variable.
d myOrder s o class(*JAVA:
'com.WMS_BPCS_Integrator.-
executable.ResendOrder')
myOrder = Instantiate();
ReturnMsg = ResendOrder(myOrder
: string(wmfac)
: string(charOrd));
-
his is the Java Programming on and around the IBM i (JAVA400-L) mailing list
o post a message email: JAVA400-L@xxxxxxxxxxxx
o subscribe, unsubscribe, or change list options,
isit: http://lists.midrange.com/mailman/listinfo/java400-l
r email: JAVA400-L-request@xxxxxxxxxxxx
efore posting, please take a moment to review the archives
t http://archive.midrange.com/java400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.