Bookshelf Home | Contents | Index | PDF |
Business Processes and Rules: Siebel eBusiness Application Integration Volume IV > Creating and Using Dispatch Rules > Examples of Search Expression GrammarIn the following example, assume that the XML document is a typical document your system receives and that you want to set some rules for the EAI Dispatch Service to use to parse this document. <?xml version="1.0" encoding="UTF-8" ?> - <cXML payloadID="3223232@ariba.acme.com" timestamp="1999-03-12T18:39:09-08:00" xml:lang="en-US"> - <Credential domain="AribaNetworkUserId"> <Identity>admin@acme.com</Identity> - <Credential domain="AribaNetworkUserId" type="marketplace"> <Identity>bigadmin@marketplace.org</Identity> <Identity>942888711</Identity> - <Credential domain="AribaNetworkUserId"> <Identity>admin@acme.com</Identity> <SharedSecret>abracadabra</SharedSecret> <UserAgent>Ariba.com Network V1.0</UserAgent> - <Request deploymentMode="test"> - <OrderRequestHeader orderID="DO1234" orderDate="1999-03-12" type="new"> <Money currency="USD">12.34</Money> Table 6 provides some valid search expression examples. Following are examples of invalid rules: Rule/*/*@DeploymentMode/Request/SiebelMessage DescriptionThis is not a valid rule. A search for a property value must be specified at the very end. A correct form would be the following, which will have a different result. RuleDescriptionThis also is not a valid rule. It is not possible to specify more than one property name. The correct form would use two different rules to represent this: |
Business Processes and Rules: Siebel eBusiness Application Integration Volume IV |