Hi
I am calling the Destination Service from a Standalone Java Application.
The following is the code:
param.put(Context.INITIAL_CONTEXT_FACTORY,"com.sap.engine.services.jndi.InitialContextFactoryImpl");
param.put(Context.PROVIDER_URL,"localhost:50004");
param.put(Context.SECURITY_PRINCIPAL,"Administrator");
param.put(Context.SECURITY_CREDENTIALS,"sap123");
Context initialContext = new InitialContext(param);
Object dstService = initialContext.lookup(DestinationService.JNDI_KEY);
dstService returns null?????
I have ejb20.jar, logging.jar and sapj2eeclient.jar in the classpath.
Pls, provide me an answer.
Thanks