Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
rosenberg_eitan
Active Contributor
0 Kudos
1,593

Recently there were some mentions of getting XML using regular http requests in contrast to SOAP ( http://en.wikipedia.org/wiki/SOAP ) .

On the web or intranet there are many XML resources that can be consumed using any http client .

Those resources can be a simple links like this:

http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml

or

Web Services that can be consumed using regular http requests like this:

http://www.webservicex.net//globalweather.asmx/GetCitiesByCountry?CountryName=United%Kingdom


In program Y_R_EITAN_TEST_40_05 (attached) I demonstrate a program that use
http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml .

The main tools in this program are:

- CL_HTTP_CLIENT : get the XML from the server .
- CL_IXML : Parse the xml .

The result of those is an internal table that is presented using cl_salv_table .

The program assume that you need a proxy to get to the server so please enter your proxy info .

Have fun.

2 Comments
Labels in this area