From YiPs Wiki (i powered)

XMLSERVICE: XMLSERVICE Testing

(click to open)

Quick Page Table of Contents

Scanning…

Notification

Test versions are for brave and helpful ONLY. This page is explanation of things being worked with XMLSERVICE. You are welcome to download test version and try it out, but we recommend you try it from test library XMLSERVICE (crtxml-XMLSERVICE), not production libraries (crtxml2-ZENDSVR/crtxml6-ZENDSVR6, crtxmlr-POWER_RUBY, crtxmlq-IBM QXMLSERV). We appreciate any help checking out XMLSERVICE open source project (free programs), our goal is not to be intrusive into your daily activities, but your help testing makes XMLSERVICE better for every one. If you find an overriding issue or need a critical enhancement please let one of the authors know via email (main page).

Quick how …

Unzip xmlservice-rpg.zip to xmlservice.savf
FTP xmlservice.savf to QGPL library
> crtSAVF FILE(QGPL/XMLSERVICE)
> clrSAVF FILE(QGPL/XMLSERVICE)
> RSTLIB SAVLIB(XMLSERVICE) DEV(*SAVF) SAVF(QGPL/XMLSERVICE) MBROPT(*ALL) ALWOBJDIF(*ALL)   
> ADDLIBLE XMLSERVICE
> CRTCLPGM PGM(XMLSERVICE/CRTXML) SRCFILE(XMLSERVICE/QCLSRC)
> call crtxml
> CHGAUT OBJ('/qsys.lib/XMLSERVICE.lib') USER(QTMHHTTP) DTAAUT(*RWX) OBJAUT(*ALL) SUBTREE(*ALL)
> CHGAUT OBJ('/qsys.lib/XMLSERVICE.lib') USER(QTMHHTP1) DTAAUT(*RWX) OBJAUT(*ALL) SUBTREE(*ALL)

PHP Toolkit users: Make sure you change your toolkit.ini "ZENDSVR" file to point new "XMLSERVICE" ...
/usr/local/zendsvr/share/ToolkitAPI/toolkit.ini
; set library where XTOOLKIT lives, most likely XMLSERVICE (testing) or ZENDSVR (production)
;XMLServiceLib = "ZENDSVR" ; production
XMLServiceLib = "XMLSERVICE" ; for testing new XMLSERVICE packages

Active test versions

Older test versions (archive)

toolkit.ini XMLSERVICE Description
error=full
 Stop the XML script processing ...
<pgm ... error='on'> - default
<cmd ... error='on'>
<sh ... error='on'>
 Stop XML parsing and report full error ...
<?xml version='1.0' encoding='ISO-8859-1' ?>
<report>
<version>XML Toolkit 1.7.4-sg3</version>
<error>
... part 1) all normal records ...
</error>
<jobinfo>
... part 2) all normal records ...
</jobinfo>
<joblogscan>
<joblogrec>
... part 3) all normal records ...
</joblogrec>
</joblogscan>
<joblog job='XTOOLKIT' user='DB2' nbr='745657'>
... part 4) all normal records ...
</joblog>
</report>
error=partial
 Continue XML parsing and report partial error ...
<pgm ... error='off'>
<cmd ... error='off'> - default
<sh ... error='off'> - default
 Continue XML parsing and report partial error ...
<?xml version='1.0' encoding='ISO-8859-1' ?>
<script>
<pgm ... or cmd ... or sh ... >
<error>
... part 1) all normal records ...
</error>
<jobinfo>
... part 2) all normal records ...
</jobinfo>
<joblogscan>
<joblogrec>
... part 3) subset normal records ...
</joblogrec>
</joblogscan>
<joblog job='XTOOLKIT' user='DB2' nbr='745657'>
... part 4) subset normal records ...
</joblog>
</pgm ... or /cmd ... or /sh ...>
error=fast
 Continue XML parsing and report minimum error ...
<pgm ... error='fast'>
<cmd ... error='fast'>
<sh ... error='fast'>
 Continue XML parsing and report minimum error ...
<?xml version='1.0' encoding='ISO-8859-1' ?>
<script>
<pgm ... or cmd ... or sh ... >
<error>
... part 1) all normal records ...
</error>
<jobinfo>
... part 2) all normal records ...
</jobinfo>
</pgm ... or /cmd ... or /sh ...>

Bugs and coming attractions

Note: The classification of BUG vs. NEW is more a statement of work item for the authors, so please feel free to consider a new feature a bug if missing (most people do)

toolkit hang after update (SAV/RST)

4. Create xmlservice RPG programs (test/production)
   > ADDLIBLE XMLSERVICE
-- test version XMLSERVICE library (will NOT update zend production ZENDSVR library) ---
   > CRTCLPGM PGM(XMLSERVICE/CRTXML) SRCFILE(XMLSERVICE/QCLSRC)
   > call crtxml
   Note redistribution: 
   - ONLY redistribute SAVOBJ/RSTOBJ to XMLSERVICE library
     will NOT work to RSTOBJ into ZENDSVR library
     will break your production toolkit (hang/busy)
   - stored procedures are automatically updated
     on SAVOBJ/RSTOBJ XMLSERVICE library via
     Program Associated Space (not need crtsql)
   - XMLSERVICE lib objects: XMLSERVICE, XMLSTOREDP, XMLCGI, XMLMAIN
     (again do NOT RSTOBJ into ZENDSVR library)     
-- or update zend production ZENDSVR library --
   > CRTCLPGM PGM(XMLSERVICE/CRTXML2) SRCFILE(XMLSERVICE/QCLSRC)
   > call crtxml2
   Note redistribution: 
   - ONLY redistribute SAVOBJ/RSTOBJ to ZENDSVR library
     will NOT work to RSTOBJ into XMLSERVICE library
     will break your test toolkit (hang/busy)
   - stored procedures are automatically updated
     on SAVOBJ/RSTOBJ ZENDSVR library via
     Program Associated Space (not need crtsql2)
   - ZENDSVR lib objects: XMLSERVICE, XMLSTOREDP, XMLCGI, XMLMAIN     
     (again do NOT RSTOBJ into XMLSERVICE library)     
Retrieved from http://www.youngiprofessionals.com/wiki/index.php/XMLSERVICE/XMLSERVICETesting
Page last modified on February 09, 2015, at 03:27 PM EST