ABAP to Java method call.
Can anyone provide me with the steps to be taken.
1)I had already created an empty Function module Z_JCO in R/3.
2)I have created a TCP/IP RFC Destination called "TEST".
3)Using Visual Administrator JCo Provider Service, I have created the destination "TEST".
4)From SM59,the test connection is successful.
5)I created a Stateless Session bean and implemented the business method public void processFunction(JCO.Function);
6)In the EJB Module project, I am referencing the sapjco.jar in the Eclipse build path of the project.
Eventhough I give Z_JCO (ALL CAPITAL LETTERS) as the JNDI name of the Stateless Session bean, I am getting the exception of "NO ejb found. No method exist".
Please let me know what I am missing. ANY HELP WOULD BE GREATLY APPRECIATED.
Do I do anything with librfc32.dll and sapjcorfc.dll which comes with the JCo?
I have installed JCo separetely. I have read JCo comes with WAS as well. What JCo jar do I use?