This document gives an overview of the Natural statements for internet and XML access and contains a list of further references. To take full advantage of these statements, a thorough knowledge of the underlying communication standards is required.
This document covers the following topics:
The following statements are available for internet and XML access:
This statement enables you to use the HTTP/HTTPS protocol.
The following is an example of how this statement can be used to access an externally-located document:
REQUEST DOCUMENT FROM "http://bolsap1:5555/invoke/sap.demo/handle_RFC_XML_POST" WITH USER #User PASSWORD #Password DATA NAME 'XMLData' VALUE #Queryxml NAME 'repServerName' VALUE 'NT2' RETURN PAGE #Resultxml RESPONSE #rc
For further information, see REQUEST DOCUMENT
in the
Statements documentation.
The PARSE XML
statement allows you to parse XML
documents from a Natural program.
For further information, see PARSE XML
in the
Statements documentation.
Below is a list of resources that you may find useful.
In addition to the sample programs provided at the end of the
description of each statement, some sample programs are included in the Natural
library SYSEXV
.
Software AG's Corporate University offers special training courses on this subject. See the Corporate University offerings on Empower at https://empower.softwareag.com/.
Or, ask your local Software AG representative for the availability of special on-site training courses at your location.
Below is a collection of links that may be of interest.
World Wide Web Consortium (W3C): https://www.w3.org/
Extensible Markup Language (XML): https://www.w3.org/XML/
HyperText Markup Language (HTML) Home Page: https://www.w3.org/MarkUp/
W3 Schools: https://www.w3schools.com/