You are currently viewing Zend Server 5.x documentation. Click here to view the latest Zend Server online documentation.
You are here: API Reference Guide > PHP XMLSERVICE Toolkit > Toolkit Service Class > Setting the XML Service Options

Setting the XML Service Options

The XML Service Setting Options

$ToolkitServiceObj->setToolkitServiceParams(array('lib=>$XMLServiceLib 'plug' => $Plug, internalKey'=>$InternalKey, controlkey'=>$ControlKey, 'debugflag'=>$debug, 'language'=>$Encoding));

 

Arguments

Value

Description

$XMLServiceLib

Default ZENDSVR

Library for XMLSERVICE programs

$Plug

15. iPLUG512K – default,

16.  PLUG4K

17. PLUG32K

18. PLUG65K

19. PLUG1M

20. PLUG5M

21. PLUG10M

22. PLUG15M

Maximum parameter size

$InternalKey

 

 

Default is blank ‘ ‘

 Note:

If the default is used, the API will use a generated unique name which will be used as a directory name in the  /tmp folder.

Unique directory for IPC internal key. This setting allows a “state full” connection to IBM i resources

$ControlKey

Default is blank ‘ ‘

*justproc    

*debug       

*debugproc

*nostart     

*here        

*rpt

 Control the IPC server jobs

$Debug

 

Default - False

Start the debug session

Generating log files in the XML format with the value of the input and output parameters

$Encoding

 

Default - ISO-8859-1 blank  (English)

The parameter’s language setting

Sample Code

Usage Example

include_once 'authorization.php';
include_once '../API/ToolkitService.php';
$ToolkitServiceObj->setToolkitServiceParams(array('InternalKey'=>"/tmp/$user",
                                        'debug'=>true,
                                        'plug' => "iPLUG32K"));

 

 

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.