From YiPs Wiki (i powered)

XMLService: XMLSERVICE 123 RAW

(click to open)

Quick Page Table of Contents

Scanning…

XMLSERVICE PHP RAW interface

Goto Main Page
Goto Documents

This is not the Zend PHP Toolkit interface, instead this is what happens below that “nice” PHP interface wrapper.

{Download Code} - Download demo code below.

Step 1) Install XMLSERVICE

Download:
1) XMLSERVICE main page has download "latest" and install instructions.

Optional: XMLSERVICE download includes alternate CRTXML2 CL program that updates Zend production library ZZENDSVR RPG - compile into ZENDSVR (see installation).

Step 2) Configuration (fix for CCSID 65535)

IMPORTANT: If you are running a machine with CCSID 65535 (and nothing works), please read and follow the documentation (main XMLSERVICE page), setting valid CCSID like 37 for Apache (web) and/or command line PHP (pear tests).

/www/zendsvr/conf/httpd.conf (web admin GUI port 2001 - ZENDSVR):

DefaultFsCCSID 37  ... or 280 (Italian) ... or so on ...
CGIJobCCSID 37     ... or 280 (Italian) ... or so on ...

Step 3) Choose PHP interface

XMLSERVICE will run across many interfaces, here a few samples that were tested from PHP 1-tier and 2-tier clients.

Step 4) Run a program

Using the interface above, run a program.


Author(s)

Tony “Ranger” Cairns - IBM i PHP / PASE

Retrieved from http://youngiprofessionals.com/wiki/index.php/XMLService/XMLSERVICE123RAW
Page last modified on October 21, 2013, at 02:09 PM EST