Handlers
154
Integration Guide
HTTPVERSION 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.
HTTPCONNTIMEOUT
Property
This optional property specifies the connection timeout value in milliseconds. The
default value for this property is 60000 milliseconds.
HTTPREADTIMEOUT
Property
This optional property specifies the read timeout value in milliseconds. The
default value for this property is 60000 milliseconds.
USERNAME and
PASSWORD Properties
If the specified Web service is secured (if HTTP basic authentication is enabled),
specify a user name and password.
WSEXIT Property 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
The XMLFILE handler is a Java component that writes XML data into a file.
FILEDIR Property This optional property specifies where the handler creates the XML files. The
default value is mxe.int.globaldir/xmlfiles.
PRETTYPRINT Property 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.