Statements for Internet and XML Access

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:


Statements Available

The following statements are available for internet and XML access:

REQUEST DOCUMENT

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.

PARSE XML

The PARSE XML statement allows you to parse XML documents from a Natural program.

For further information, see PARSE XML in the Statements documentation.

Further References

Below is a list of resources that you may find useful.

Sample Programs

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.

Training Courses

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.

Useful Links

Below is a collection of links that may be of interest.