Bookshelf Home | Contents | Index | PDF |
Integration Platform Technologies: Siebel Enterprise Application Integration > Integration Objects > About Integration Component Keys > Status KeysIt is useful to know the status of your integrations. For example, if you are sending an order request, you might want to know the ID of the Order created so that you can query on the order in the future. You can set the StatusObject method argument of the EAI Siebel Adapter business service to true to return an integration object instance as a status object. The status returned is defined in the Integration Component using Status Keys. A Status Key is an Integration Component key of the type Status Key. Fields defined as part of the Status Key are included in the returned StatusObject. If a Status Key is not defined for the Integration Component then neither the component nor any of its children are included in the returned object:
Status Key ExamplesFor example, the AccountAshish integration object has an Account integration component with an integration component key called StatusKeyAshish, with the integration component key fields AshishName, AshishId, and AshishHomePage (Figure 15). Example with No StatusObjectWhen no StatusObject business service method argument is defined, as in this input XML file for an upsert operation using the EAI Siebel Adapter business service <?Siebel-Property-Set EscapeNames="true"?> <SiebelMessage MessageId="42-1PGR" IntObjectName="AccountAshish" MessageType="Integration Object" IntObjectFormat="Siebel Hierarchical"> <Account Main_spcPhone_spcNumber="+33123456789" Primary_spcOrganization="Default Organization" Home_spcPage="mycompany.com" Location="France" Name="Ashish 9 Telecom"/> all of the fields in the integration component are returned: <?Siebel-Property-Set EscapeNames="true"?> <PropertySet ErrorContextIntComp="" ErrorContextSearchSpec="" OMErrorCode="" PrimaryRowId="42-C739Q" OMErrorSymbol="" ErrorCode="0x0" ErrorSymbol=""> <SiebelMessage MessageId="42-1PGR" MessageType="Integration Object" IntObjectName="AccountAshish" IntObjectFormat="Siebel Hierarchical"> <Account Main_spcPhone_spcNumber="+33123456789" Primary_spcOrganization="Default Organization" Home_spcPage="mycompany.com" Location="France" Name="Ashish 9 Telecom"/> Example with StatusObjectWhen the StatusObject method argument is set to true, as in this input XML file: <?Siebel-Property-Set EscapeNames="true"?> <PropertySet StatusObject="true"> <SiebelMessage MessageId="42-1PGR" IntObjectName="AccountAshish" MessageType="Integration Object" IntObjectFormat="Siebel Hierarchical"> <Account Main_spcPhone_spcNumber="+33123456789" Primary_spcOrganization="Default Organization" Home_spcPage="mycompany.com" Location="France" Name="Ashish 9 Telecom"/> only the fields in the status key are returned: <?Siebel-Property-Set EscapeNames="true"?> <PropertySet ErrorContextIntComp="" ErrorContextSearchSpec="" OMErrorCode="" PrimaryRowId="42-C739Q" OMErrorSymbol="" ErrorCode="0x0" ErrorSymbol=""> <SiebelMessage MessageId="42-1PGR" MessageType="Integration Object" IntObjectName="AccountAshish" IntObjectFormat="Siebel Hierarchical"> <Account Id="42-C739Q" Home_spcPage="mycompany.com" Name="Ashish 9 Telecom"/> For more information on the EAI Siebel Adapter business service, see EAI Siebel Adapter Business Service. |
Integration Platform Technologies: Siebel Enterprise Application Integration | Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |