SAP PO. XPI Inspector. Installation and usage. Step-by-step guide


Logical prerequisites

You have a SOAP to RFC Synchronous scenario and want to use SOAPUI for testing purposes.

During testing procedure you receive a error from SAP PO.

Something like this:

<SOAP:Fault>

         <faultcode>SOAP:Server</faultcode>

         <faultstring>Server Error</faultstring>

         <detail>

            <s:SystemError xmlns:s=”http://sap.com/xi/WebService/xi2.0″>

               <context>XIAdapter</context>

               <code>ADAPTER.JAVA_EXCEPTION</code>

               <text>See log trace with id: n/a</text>

            </s:SystemError>

         </detail>

      </SOAP:Fault>

You want to receive more information about “id n/a” and for this purpose you want use a XI Inspector

“XPI Inspector” is a web application developed by SAP for collecting information about configurations and traces.

This tool not included at SAP PO by default. But you can install it through this step by step guide

Step 1. Download Enterprise Archive (ear)

Download both zip and z01 files from Note #1514898 and extract ear file from archive

Links:

1514898 – XPI Inspector for troubleshooting SAP Process Orchestration / Integration

Step 2. Installation process

Installation options:

  • SUM

  • Telnet

  • NWDS

Further steps for Telnet scenario and Linux as operation system

Step 2.1 Telnet connection and deployment process

a.SSH connection to SAP PI/PO server

b. Upload file from Step 1 to folder (for example to)

/usr/sap/<SID>/J<instance>/j2ee/temp

su – <sid>adm

telnet localhost 5<instance>08

and sign in as an Administrator use

execute the following commands:

add deploy

deploy /usr/sap/<SID>/J<instance>/j2ee/temp/xpi_inspector_v7.2.ear version_rule=all on_deploy_error=stop

Step 3. Usage example

a. Open installed XI Inspector – http://host:port/xpi_inspector/index.jsp

b. Select corresponding example (in our scenario: 50 (XI Channel))

c. Enable writing in default traces during inspection

d. Reproduce issue in SOAPUI

now log trace with id XXX instead n/a before XPI Inspector installation

e. Open SAP PI/PO Log Viewer and switch to Expert mode. Display Log File – defaultTrace

Filter – Log ID from request in SOAP UI

Example:

Conclusion.

SAP BASIS routine task explained.