Activation of web service for tia® Viewer Core

Activation of web service for tia® Viewer Core

The web service tia_viewer on SAP system is setup with the transport imported before:

It listens to the port set up for HTTP protocol in SAP profiles.

Its URL is: https://<sap-system>:<port>/tia/tia_viewer

The <port> above is seen when the new service is tested (see point 3. below). Or the ports which are available on the sap-system can be seen in transaction SMICM.

image-20250423-153952.png
Transaction SMICM (and klick to icon “Services”)
image-20250423-154050.png
Portnumbers for each service

For setup of tia Viewer Core instances to this created web service in SAP, look for parameters sap.url, sap.user, sap.password in Reference of instance settings .

 

 To active the web service tia_viewer, follow these steps:

 

  1. Execute transaction SICF and press Execute button

grafik-20240925-094143.png
  1. In the Virtual Hosts / Services tree view find tia > tia_viewer

Right-Click tia_viewer and select Activate Service of the context menu.

When being asked Do you want to activate service /default_host/tia/tia_viewer? , select Yes.

grafik-20240925-094345.png

 

Now the web service is activated and listening.

  1. Right-Click tia_viewer again and select Test Service of the context menu.

The browser opens and shows following browser will open and will show the following result:

grafik-20240925-093459.png
tia® Viewer Core responses with a JSON document to test request

When JSON document above is returned, the connection test is successful, although the property success in the response is false. This is because the test request did not contain a JSON-formatted POST document expected by tia_viewer web service.