cancel
Showing results for 
Search instead for 
Did you mean: 

How to use IGS via Web Services (or HTTP)?

Former Member
0 Kudos

IGS is well integrated in Web Dynpro, BSP, BEx and so on...

Via ABAP it's easy to call it but I do not find how to use it via HTTP (or better Web Services).

Any idea?

Sergio

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

IGS HTTP URL.

http://hostname:4<NR>80/

NR: Instance No

<u>NW04</u>

http://hostname:40080/

<u>NW04S</u>

http://hostname:40180/

Thanks,

Tanuj

SergioFerrari
Active Contributor
0 Kudos

Thanks for the tips.

You are addressing to the IGS Administration; my intention is to call IGS via HTTP not for administration tasks but to generate graphics.

I'm looking for API based on HTTP...

Sergio

matthias_gemmel
Active Participant
0 Kudos

Dear Sergio,

a scenario that makes use of the HTTP interface of the IGS is Web Dynpro Java. This may also be an alternative for you. But with a lot of technical background it is also possible to generate charts using the IGS via HTTP directly (Web Services are not supported).

Prerequisite is an IGS somewhere in the network that has at least one HTTP listener defined and the XMLCHART interpreter is installed.

You must send an HTTP request to the adress http://<igs-host>:<igs-port>/XMLCHART. The request must at least contain the parameter with name data as first parameter. This parameter contains the chart data as XML, see below. In addition all further parameters (the name doesn't matter but I would recommend something like custom1, custom2, ...) must contain the chart customizing as XML.

If you already used the XMLCHART interpreter in an ABAP application or BSP you may know the data and customizing xml format. If not you can download the SAP ChartDesigner from the Downloads --> Web AS section of the SDN. This download contains a pdf describing the data xml format and the tool itself which can be used to create the customizing xml in an interactive manner.

All HTTP related coding must be done by you.

Best regards

Matthias

SergioFerrari
Active Contributor
0 Kudos

Fantastic !!!

athavanraja
Active Contributor
0 Kudos

Hi,

When you call the IGS chart service via HTTP whats the reponse type, is it image?

matthias_gemmel
Active Participant
0 Kudos

Hi,

that's what I forgot last week. The IGS responds with an HTML snippet containing some of the following four links. Their self explanatory names are: Picture, ImageMap, Info and Errors. The value from the href attribute must be merged with the IgsUrl to e.g. http://<igs-host>:<igs-port>/output/Picture_12345.gif to recieve the image in a second call.

If no Pictue link exists you may call for the Error information and trace it in your application.

Best regards

Matthias

athavanraja
Active Contributor
0 Kudos

Thankyou very much Matthias

Answers (0)