www.krengeltech.com

RXS_writeXMLHdr

From Wiki

User Guide

Contents

Description

Use this subprocedure to quickly write out the minimum required HTTP headers for a web service. It is basically outputting Content-type: text/xml followed by two carriage return line feeds, as shown below.

Content-type: text/xml 


Note that this subprocedure could be used to write out the HTTP headers instead of putting them in a template for the Template Engine to send them. Use this when writing RPG Web Services residing on your IBM i that other programs call and NOT when consuming web services on a remote system.

Prototype

     D RXS_writeXMLHdr...
     D                 pr

Parameters

None.

Return value

None.

Notes / Examples

None.