Skip to Content
0
Former Member
Nov 30, 2005 at 08:13 AM

Is it possible to test XI Adapter on PCK by JNDI lookup?

18 Views

Hi, friends

I can't test the XI Adapter by using the communication channels and sender/receiver agreements on a standalone PCK (without XI server to be connected). Is it possible to test XI Adapter on PCK by JNDI lookup?

I can locate the XI Adapter by JNDI lookup (JNDI name is configured on SampleRA.xml):

ConnectionFactory cxf = (ConnectionFactory)initctx.lookup("deployedAdapters/sample_ra/shareable/sample_ra");

But later it failed to get the ConnectionSpec and create the Connection. Could anyone give me a sample code for testing XI Adapter by JNDI lookup?

Thanks in advance.

Best Regards,

Jason

Message was edited by: Jason Wang