IBM BJ0NJML Integration Guide - Page 168
XMLFILE Handler, Property, USERNAME and, PASSWORD Properties, WSEXIT Property, FILEDIR Property
View all IBM BJ0NJML manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 168 highlights
Handlers HTTPVERSION Property HTTPCONNTIMEOUT Property HTTPREADTIMEOUT Property USERNAME and PASSWORD Properties WSEXIT Property This optional property specifies the version of the HTTP protocol for Web service invocations. The valid values are HTTP/1.0 and HTTP/1.1. If you do not provide a value, the system uses the default value, HTTP/1.1. This optional property specifies the connection timeout value in milliseconds. The default value for this property is 60000 milliseconds. This optional property specifies the read timeout value in milliseconds. The default value for this property is 60000 milliseconds. If the specified Web service is secured (if HTTP basic authentication is enabled), specify a user name and password. This optional property is used for customization. It specifies the fully qualified name of a custom Java class that implements the psdi.iface.router.WSExit interface. The property defines the following methods: The responseOk() method is called after a successful invocation of the external Web service. public void responseError(Exception e) throws MXException If an error occurs when the Web service is called, the responseError() method is called with the originating exception as a parameter. The default implementation of the WSExit interface is psdi.iface.router.DefaultWSExit. XMLFILE Handler FILEDIR Property PRETTYPRINT Property The XMLFILE handler is a Java component that writes XML data into a file. This optional property specifies where the handler creates the XML files. The default value is mxe.int.globaldir/xmlfiles. This required property specifies whether the handler formats the XML file. The valid values are 0 and 1. A value of 1 prompts the handler to pretty print format the xml file. Publish channel, invocation channel, and invocation API file names have the following formats: externalsystemname_publishchannelname_uniqueidentifier.xml invocationchannelname_uniqueidentifier.xml T externalsystemname is the identifier of the system (the value of MAXEXTSYSTEM.EXTSYSNAME). T publishchannelname is the name of the publish channel. T uniqueidentifier is a number based on current system time. 154 Integration Guide