I don't even know if this is possible as I'm not a C or Java programmer. 
UV has the GCI (General Call Interface) that allows it to make calls to 
external subroutines written in C, C++ and Fortran 77.  It seems to me 
that you should be able to create a "wrapper" in C++ that would call the 
Java API and then return the data from the Java credit card software to 
the UV application.  Again, I don't know if C++ can be made to "talk" with 
Java either.

Just an idea,
Gordon

P.S.  I think we should add this functionality request to our enhancement 
request list.  Fortran 77?  Does that even exist anymore?  I'm thinking a 
Java interface would be much more in demand that a Fortran 77 one.


Gordon J. Glorfield
Sr. Applications Developer
MAMSI (A UnitedHealth Company)
301-360-8839

[EMAIL PROTECTED] wrote on 01/11/2006 01:28:00 PM:

> Thanks to Wendy, JayJay, and Kevin who responded to my previous posts
> about Java.

> Your replies, and the docs, all indicate that the U2 Java API only
> accommodates calls TO UV or UD databases, or Basic subroutines.

> From the code examples (found, thanks Wendy), and docs, it appears there
> is no UV call to a Java class, from within a Basic subroutine.

> In this credit card project, the UV host is actually the client, calling
> a Java API which communicates with a Linux host running Live Processor
> software (by Retail Decisions).  The LP server then passes the Auth
> request or settlement to the actual credit card processor across a
> frame.

> We can run the Java client (a testing shell script) from the Unix
> command line and test the connection and run Test scenarios.  That all
> works.

> What I need help on is some elegant way to make the client call from UV
> Basic, hopefully passing/receiving some arguments/parameters.  The
> client is multi-threaded so the connection is persistent for the life of
> each call, returning a Transaction ID and various response codes
> (decline/approval & why, etc.).

> Thanks for taking the time.  I'm thankful for this community.  TIA.

> R. Baker Hughes
> UniVerse Programming
> Mouser Electronics, Inc.
[snip]


This e-mail, including attachments, may include confidential and/or 
proprietary information, and may be used only by the person or entity to 
which it is addressed. If the reader of this e-mail is not the intended 
recipient or his or her authorized agent, the reader is hereby notified 
that any dissemination, distribution or copying of this e-mail is 
prohibited. If you have received this e-mail in error, please notify the 
sender by replying to this message and delete this e-mail immediately.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to