Skip to Content

Viewing your Servers status with Visual Composer

The web service address you will use for your system is


You will add it via Tools > Define Web service system.

Now let’s find the service we want to use : “GetProcessList”. Add it to your iview, add a start point in the input port, drag a table form the output form.

This is how it looks like in Visual Composer :

See the list of process - VC

From now we can see our process list :

See your list process

Seeing your server status with a nice look and feel

Now we will enter the aim of this blog : view our server status in a good looking way.

From our model, make the table invisible. To do that, make the table property “Visibility condition” to “false”.

Drag a form from the out port of the table, and make all the field not visible.

Now go to the image manager and choose 4 pictures to upload : one of your landscape, and three for the “traffic light” : one green, orange, and red light.

In your new form, add an image with no label and assign your image landscape to it. Go to the layout view, and enlarge this image to use it as a background.

Add another image for your traffic light. Assign it the three images with the following image condition :

    • @dispstatus==”SAPControl-RED”

    • @dispstatus==”SAPControl-YELLOW”

Now the green image will be displayed if the server is running, the red if it is stopped, yellow if starting.

To make it even more readable, we will add three HTML fields colored with the corresponding status, and using the same trick for hiding/showing them depending on the server status.

Now you will have to define how you want it to look like in the layout tab. After the “Restart the server” part you will see how I choose to present it.

Restart the server

To make our realisation not only a visualisation tool, but also a monitoring tool, we can add a restart button.

Choose the service you want to use in the Webservice : “RestartInstance”, “RestartService”, “RestartSystem”. Add it after your last form. Add a button to your form and assign it the System Action “Submit”.

Depending on wich service you use you will have to define some default parameters.

This is how it looks like in Visual Composer :

See your status - VC

From now we can see our server status in a good looking visual way :

Server status - VC

Let’s use it for all our environments

Now the final point of this blog is to make our realisation re-usable for all our Environments.

To do this, add the corresponding Webservice for each environment, and reproduce what we just have done for each one.

To make it more readable, we decided to use Tab strip, one strip per environment.

To do this simply go to “Compose”, add a layer, in the “Configure” tab choose “Navigation control : tab strip”, and move all you have done before in your just created tab.

Repeat it for each environment.

This is how it looks like in Visual Composer :

Server status - VC

Now you can see and “monitor” your servers status from all your selected environment with your Visual Composer developped iview :

!|height=466|alt=Servers status|width=540|src=|border=0!</body>

You must be Logged on to comment or reply to a post.
      • Hi Fabien,

        It is very nice blog.
        I implemented this to our SandBox Serverand it is showing the SBX server status correctly.
        But when I try to implement this for other servers like Dev, QA and Production.
        It is showing the SandBox server data only.
        Do you know what the problem is?
        I used the appropriate WSDL URL for other servers.


        • Hi,

          thanks a lot.

          Concerning your problem, have you tested your web service throughout Visual Composer to be sure it is the good wsdl you are using ?


    • Hi Jan,

      first of all, I hope you solved your union problem 😉

      Seems like both syntax are working, with or without the slash, even if I used the one with the slash.


  • Hi Fabien,

    Thanks for your blog. Very creative usage of VC.

    Btw, Your example works successfully on J2EE stack based systems. But, I was unable to find webservice for ABAP stack based systems ?

    Can you please let me know the same along with URL for ABAP based systems ? I was also curious to know the use of "port + 13" part of the URL used in your example. If you can elaborate on the same, it will be superb help.

    Thanks & Regards,

  • Very nice blog!

    I have one question:

    Which service are the pictures looking at to decide which one is visible?

    How can you modify @dispstatus=="SAPControl-GREEN" to look at just one of the services? Or go through and look at all of them?

    Thanks again for the great blog!

    • Hi,

      thanks a lot first.

      The images' visibility condition take a look at the @dispstatus service.

      I go through the call of this service for all images, which can be a good point of improvement (calling just one time the @dispstatus service).


  • Hi ,

    This is very nice blog .

    where i can find the Getprocess webservice in WSNavgator . i need to do the same my system .please provide the details .

    Regards ,

    venkat p

  • Thank you so much Fabien for a very nice and helpful blog.

    I tried the web service URL and I was able to list the web services like GetProcessList and map it to a table. The problem I'm facing now is with execution where the application launches and shows the error message "couldn't execute web service, contact your admin!"

    what could be the reason?

  • Hi,

    Great blog!. It is very interesting to read this. As you mentioned in this blog, I have created VC Model with the web service for showing the server status.
    Green - Server Running
    Red - Server Stopped
    Yellow - Server restarted

    Question 1: If server is running, then only i can view this iview. What does it mean for setting red and yellow symbols?

    Question 2: What is purpose of restart service?

    Hemalatha J