cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI 7.31 EJB get channel data using API

Former Member
0 Kudos

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","http://sap.com/xi/XI/System");

or

LinkedList<Binding> bindings = lookup.getBindings("SOAP","http://sap.com/xi/XI/System", 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.

Accepted Solutions (0)

Answers (0)