XML Reference: Siebel Enterprise Application Integration > Siebel XML Converters >
EAI Integration Object to XML Hierarchy Converter
The EAI Integration Object to XML Hierarchy Converter can be used if additional types of XML processing are needed, such as adding new elements, attributes, or envelopes to in-memory integration object property sets. XML Hierarchy property sets can be manipulated using eScript and Siebel VB. The following topics are also described here:
EAI Integration Object to XML Hierarchy Converter Business Service Methods
There are two methods for the EAI Integration Object to XML Hierarchy Converter, as shown in Table 26. The arguments for each method appear in Table 27, Table 28, Table 29, and Table 30. NOTE: You can use the XML Hierarchy property sets to manipulate in memory XML hierarchies, such as to add new elements, attributes, or envelopes. An XML Hierarchy property set can be converted to and from an Integration Object property set using EAI Integration Object to XML Hierarchy Converter. An XML Hierarchy property set can be converted to and from an XML document using the XML Hierarchy Converter.
Table 26. EAI Integration Object to XML Hierarchy Converter Methods
|
|
|
Integration Object Hierarchy to XML Hierarchy |
IntObjHierToXMLHier |
Converts an integration object hierarchy to an XML hierarchy. |
XML Hierarchy to Integration Object Hierarchy |
XMLHierToIntObjHier |
Converts an XML hierarchy to an integration object. |
Integration Object Hierarchy to XML Hierarchy Method Arguments
Table 27 describes the input arguments for the Integration Object Hierarchy to XML Hierarchy method of the EAI Integration Object to XML Hierarchy Converter.
Table 27. Integration Object Hierarchy to XML Hierarchy Input Arguments
|
|
|
|
Namespace |
Namespace |
String |
If a namespace is defined here, then it will override any namespace defined in the user properties of an integration object. |
Integration Object Hierarchy |
SiebelMessage |
Hierarchy |
The integration object hierarchy to be converted. |
Use Siebel Message Envelope |
UseSiebelMessageEnvelope |
String |
Default is True. If set to True, then the Siebel Message Envelope is used in the XML Hierarchy, otherwise the Siebel Message Envelope is not included. |
Generate Namespace Declarations |
GenerateNamespaceDecl |
String |
Default is False. If set to True, then the namespace declaration will be generated. |
Generate Schema Types |
GenerateSchemaTypes |
String |
Default is False. If set to True, then XSD schema types will be generated if set on the integration objects user properties. |
Table 28 describes the output argument for the Integration Object Hierarchy to XML Hierarchy method of the EAI Integration Object to XML Hierarchy Converter.
Table 28. Integration Object Hierarchy to XML Hierarchy Output Argument
|
|
|
|
XML Hierarchy |
XMLHierarchy |
Hierarchy |
The converted integration object. |
XML Hierarchy to Integration Object Hierarchy Method Arguments
Table 29 describes the input arguments for the XML Hierarchy to Integration Object Hierarchy method of the EAI Integration Object to XML Hierarchy Converter.
Table 29. XML Hierarchy to Integration Object Hierarchy Input Argument
|
|
|
|
Contains Inline Attachments |
ContainsInlineAttachments |
String |
Default is True. DTYPE_ATTACHMENT fields are assumed to include actual attachment content. If False, then the field is treated as a reference to an external attachment. |
Integration Object Name |
IntObjectName |
String |
Integration Object Name can be specified if the Siebel Message envelope is not present in the XML hierarchy. The service generates the envelope automatically if this parameter is present. |
Strip Name Space |
StripNamespace |
String |
Removes the namespace from XML tags. |
Truncate Field Values |
TruncateFieldValues |
String |
Default is True. If True, then truncate any fields longer than their maximum size. If False, then report fields that are too long as errors. |
XML Hierarchy |
XMLHierarchy |
Hierarchy |
The hierarchy to be converted. |
Process Elements Only |
ProcessElementsOnly |
String |
Default is False. If set to True, then processing of attributes is skipped. |
Table 30 describes the output argument for the XML Hierarchy to Integration Object Hierarchy method of the EAI Integration Object to XML Hierarchy Converter.
Table 30. XML Hierarchy to Integration Object Hierarchy Output Argument
|
|
|
|
Integration Object Hierarchy |
SiebelMessage |
Hierarchy |
The converted integration object. |
|