Skip to Content

SAP PI 7.31 EJB get channel data using API

Hi all,

I'm trying to get channel data through an ejb using SAP PI 7.31 API. However, I am getting all the time no data, no matter what method I'm using. Basicly my code is doing the following:

CPAFactory factory = CPAFactory.getInstance();

CPALookupManager lookup = factory.getLookupManager();

LinkedList list = lookup.getChannelsByAdapterType("SOAP","");


LinkedList bindings = lookup.getBindings("SOAP","", Direction.valueOf("OUTBOUND"), "", "");

I know there are running channels with selected parameters. So I don't understand why I'm not getting any value. I don't know if it is related with the lookup manager initialization.

Note: I know there is a standard service to get channel information but in our case it is necessary to get it done by an ejb using this API.

Any inputs?

Thanks and regards.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers