Siebel Smart Answer Connector Guide > Sample Files for Use with Siebel Smart Answer Connector > >

Sample RefreshKB Files for Use with Siebel Smart Answer Connector


This topic provides the following input and output files as examples of how the RefreshKB business service method is called when using Siebel Smart Answer Connector:

RefreshKB Input File

The following sample code is an example of a SOAP request message that calls a RefreshKB method. This request message is sent from a Siebel application (version 8.1 or later) to a third-party adapter or Web service.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:asi="http://siebel.com/asi/"
xmlns:get="http://www.siebel.com/xml/GetParams_IO">

<soapenv:Header/>

<soapenv:Body>

<asi:RefreshKB>

<InputRefreshSiebelMessage>

<get:ListOfSARefreshInput>

<!--Zero or more repetitions:-->

<get:SARefreshInput>

<get:KBName>test_arun</get:KBName>

</get:SARefreshInput>

</get:ListOfSARefreshInput>

</InputRefreshSiebelMessage>

</asi:RefreshKB>

</soapenv:Body>

</soapenv:Envelope>

RefreshKB Output File

The following sample code is an example of a SOAP response message generated from a third-party Web service in response to a RefreshKB method called by a Siebel application (version 8.1 or later).

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<SOAP-ENV:Body>

<rpc:RefreshKBResponse xmlns:rpc="http://siebel.com/asi/">

<OutputRefreshSiebelMessage>

<ListOfSARefreshOutput xmlns="http://www.siebel.com/xml/GetParams_IO">

<SARefreshOutput>

<Status>Success</Status>

<ExportFileURI>\\tjones-pc\fs\smartanswer\export\
ITProductsKBI_20090409122506.xml<ExportFileURI>

</SARefreshOutput>

</ListOfSARefreshOutput>

</OutputRefreshSiebelMessage>

</rpc:RefreshKBResponse>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Siebel Smart Answer Connector Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.