Skip to Content
0

SAP PI 7.31 EJB get channel data using API

Oct 26, 2016 at 07:18 AM

26

avatar image

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 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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers