cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Workbench Information

Former Member
0 Kudos

Hi experts,

We have a scenario in which we want to display the information from Runtime Workbench, specifically about communication channels, in an external system.

Is there anyway to acces this information through Web Services or Enterprise Java Beans?

Any available documentation?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Gabriela!

And here my answer again with my original SDN account:

Beginning with PI 7.11 you can use function module SXMB_AE_GET_MESSAGE_LIST to query the Adapter Engine for Messages. But please take in mind, that the import parameters are filled correctly.

Sample:

ls_destination-protocol = 'http'. "MUST be in lower-cases

ls_destination-hostname = ls_icm_servinfo-hostname. "Fully qualified domain name

ls_destination-port = ls_icm_servinfo-service. "PI Port

ls_selection-filter-from_time = lv_worktime_from. "concatenate date and time

ls_selection-filter-to_time = lv_worktime_to. ""concatenate date and time

If you only want to select faulty messages, use:

ls_selection-filter-only_faulty_messages = 'X'.

The status of Communication Channels can be inspected using a URL that is posted via Function Module HTTP_POST:

http://<server fqdn>:<port>/AdapterFramework/ChannelAdminServlet?party=&service=&channel=&action=status'

The answer is an XML file containing the status of each Comm. Channel.

You can test the URL using your browser also.

Hope this helps you!

Regards,

Volker

Former Member
0 Kudos

Hi Volker,

Thanks for your reply, it solved my problem.

Best Regards,

David Conceiçã

Answers (3)

Answers (3)

Former Member
0 Kudos

search for it on SDN and I believe you will get some readymade stuff

there are lots of readymade docs in sdn.Please gothrough.

Regards,

naveen

prateek
Active Contributor
0 Kudos

Try using Integration Directory API. You may search for it on SDN and I believe you will get some readymade stuff.

Regards,

Prateek

Former Member
0 Kudos

Hi Gabriela!

Beginning with PI 7.11 you can use function module SXMB_AE_GET_MESSAGE_LIST to query the Adapter Engine for Messages. But please take in mind, that the import parameters are filled correctly.

Sample:

ls_destination-protocol = 'http'. "MUST be in lower-cases

ls_destination-hostname = ls_icm_servinfo-hostname. "Fully qualified domain name

ls_destination-port = ls_icm_servinfo-service. "PI Port

ls_selection-filter-from_time = lv_worktime_from. "concatenate date and time

ls_selection-filter-to_time = lv_worktime_to. ""concatenate date and time

If you only want to select faulty messages, use:

ls_selection-filter-only_faulty_messages = 'X'.

The status of Communication Channels can be inspected using a URL that is posted via Function Module HTTP_POST:

http://<server fqdn>:<port>/AdapterFramework/ChannelAdminServlet?party=&service=&channel=&action=status'

The answer is an XML file containing the status of each Comm. Channel.

You can test the URL using your browser also.

Hope this helps you!

Regards,

Volker