I want to enable sap r/3 call java function. So I want to use JCo RFC Provider in WAS640.
First I create a RFC destination in WAS640. After I start that RFC Provider. I test connection in SM59. The result show connection is established.
Then I create a stateless session bean, I create a business method below:
public JCO.Function processFunction(JCO.Function function)
System.out.println("Get SAP Call!!");
String funcName = function.getName();
I think if java program receive any sap call, I will get a text message.
After that, in the ejb-j2ee-engine.xml I type ejb jndi just like the function module in the sap.
At last, I deploy the ejb. But when I test SAP call java. There is an error can't find my function module.
If you have used JCO RFC Provider berfore, Pls give me some adivces. What's wrong?