Bookshelf Home | Contents | Index | PDF |
Siebel Smart Answer Connector Guide > Sample Files for Use with Siebel Smart Answer Connector > > Sample C++ Input and Output Files for Use with Siebel Smart Answer ConnectorThis topic provides the following input and output files as examples of how the business service methods are called when using Siebel Smart Answer Connector and an adapter that uses C++: Categorize Output FileThe following sample code is an example of the expected output of the Categorize method. This XML-formatted message flows from a third-party adapter to a Siebel application (version 8.1 or later). <?xml version ="1.0" encoding ="UTF-16"?> <?XsearchAdapter-XML EscapeNames="true"?> <OutputBlock Character_spcSet="utf16" Language="English"> <category name="Ramani Iyer" kscore="95"/> <category name="Bhavin Gosrani" kscore="96"/> Identify Language Input FileThe following sample code is an example of the expected input for the Identify Language method. This XML-formatted message flows from a Siebel application (version 8.1 or later) to a third-party adapter. NOTE: This message might or might not identify the internal Document Type Definition (DTD). <?xml version="1.0" encoding="UTF-8"?> <!ELEMENT method (input*, output*)> <!-- name : Name of the property --> <!ELEMENT input (category*, property*)> <!ELEMENT output (category*, property*)> category-count CDATA #REQUIRED property-count CDATA #REQUIRED > category-count CDATA #REQUIRED property-count CDATA #REQUIRED> <!-- name : Name of the category --> <!-- name : Name of the property --> <method name="IdentifyLanguage"> <input category-count="0" property-count="2"> <property name="Text" value="testing arun"/> <property name="Channel" value="eMail"/> Identify Language Output FileThe following sample code is an example of the expected output for an Identify Language method. This XML-formatted message flows from a third-party adapter to a Siebel application (version 8.1 or later). <?xml version="1.0" encoding="UTF-8"?> <!ELEMENT method (input*, output*)> <!-- name : Name of the property --> <!ELEMENT input (category*, property*)> <!ELEMENT output (category*, property*)> category-count CDATA #REQUIRED property-count CDATA #REQUIRED > category-count CDATA #REQUIRED property-count CDATA #REQUIRED> <!-- name : Name of the category --> <!-- name : Name of the property --> <method name="IdentifyLanguage"> <output category-count="0" property-count="6"> <property name="Channel" value="eMail"/> <property name="Text" value="testing arun"/> <property name="Language Name" value="English US"/> <property name="Language Code" value="ENU"/> <property name="Msg Character Set" value="utf16"/> |
Siebel Smart Answer Connector Guide | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |