Knowledge Builder COM+ Engine

This section consists of brief notes on the installation of this server, its primary XML interfacing method 'GoXML' and some sample code to demonstrate how this method can be used.

The runtime server 'XRserver.dll' is a Microsoft COM+ compliant automation object which provides the inference engine to run knowledge based applications that have been developed and exported as xra files by the Knowledge Builder software.

'XRserver.dll' is the COM+ server engine itself. To use this engine with an exported application, it must copied onto the machine where it is to reside and then registered with the Windows registry, where it will appear as 'XpertRule.Server2k'.

The sample VB script code within 'XMLtester.vbs' and 'XMLtester.asp' show how to instantiate the runtime server and access the 'GoXML' method.

xml_output = xrkb.GoXML(xml_input)

The input XML is contained in 'input.xml' and the returned XML from the 'GoXML' method is shown in 'output.xml'.

input.xml

output.xml

Requirements of the COM+ example

XMLtester.vbs

XMLtester.asp