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

Sample Lookup (Categorize) Files for Use with Siebel Smart Answer Connector


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

Lookup (Categorize) Input File

The following sample code is an example of a SOAP (Simple Object Access Protocol) request message for the Lookup (Categorize) method. A SOAP message is a specification for exchanging structured information in the implementation of Web services. This request message is sent to a third-party adapter or Web service from a Siebel application (version 8.1 or later).

<?xml version="1.0" encoding="UTF-8" ?>
<?Siebel-Property-Set EscapeNames="true"?>
<PropertySet
Character_spcSet="utf16"
Language=""
ProcessMode="Local"
Return_spcCategory_spcId="TRUE"
Default_spcCharacter_spcSet="utf16"
Default_spcLanguage="">
<Categorization_spcEntity text="question" />
</PropertySet>

Lookup (Categorize) Output File

The following sample code is an example of a SOAP response message for the Lookup (Categorize) method. This response message is sent from a third-party adapter or Web service to 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:LookupResponse xmlns:rpc="http://siebel.com/asi/">

<OutputLookupSiebelMessage>

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

<SALookupHeader>

<CharacterSet>utf16</CharacterSet>

<Language>English</Language>

<Categories>

<CategoryName>Ramani Iyer</CategoryName>

<CategoryScore>95</CategoryScore>

</Categories>

<Categories>

<CategoryName>Bhavin Gosrani</CategoryName>

<CategoryScore>96</CategoryScore>

</Categories>

</SALookupHeader>

</ListOfSALookupOutput>

</OutputLookupSiebelMessage>

</rpc:LookupResponse>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

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