Defining outboundHeader Using Native Schema Constructs

6-42 Oracle Fusion Middleware Users Guide for Technology Adapters Input XML: terminated xmlns=http:xmlns.oracle.compcbpelnxsdsmoketest PersonNameFredPersonName Address2 Old Street, Old Town,ManchesterAddress DOB20-08-1954DOB Telephone0161-499-1718Telephone terminated Native Schema: ?xml version=1.0 encoding=US-ASCII? schema xmlns=http:www.w3.org2001XMLSchema xmlns:nxsd=http:xmlns.oracle.compcbpelnxsd targetNamespace=http:xmlns.oracle.compcbpelnxsdsmoketest elementFormDefault=qualified attributeFormDefault=unqualified nxsd:stream=chars nxsd:version=NXSD nxsd:hasHeader=true nxsd:outboundHeader=This is a header {eol} element name=terminated complexType sequence element name=PersonName type=string nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy=quot; element name=Address type=string nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy=quot; element name=DOB type=string nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy= element name=Telephone type=string nxsd:style=terminated nxsd:terminatedBy={eol} nxsd:quotedBy= sequence complexType element schema Translated Data: This is a header Fred,2 Old Street, Old Town,Manchester,20-08-1954,0161-499-1718

6.2.2.15 Defining Complex Condition in conditionValue

When you use the conditionValue construct along with the choiceCondition construct, you can specify match criteria such as equals == and not equals =, along with the Boolean operators AND and OR, for comparison between the value read and the value specified in the conditionValue construct. Native Data Format to Be Translated: Order, ID41678, 20May2000 Item1, GigaWidget, 60, 75 Item2, MegaBucket, 48, 125 Cust1, Hopkins Associates, ID26490 Order, ID41680, 20May2000 Item3, Rt.Clopper, 40, 100 Native Format Builder Wizard 6-43 Item4, Lt.Clopper, 50, 100 Cust2, Jersey WebInovaters, ID46786 Native Schema: ?xml version=1.0 ? xsd:schema xmlns:xsd=http:www.w3.org2001XMLSchema xmlns:nxsd=http:xmlns.oracle.compcbpelnxsd targetNamespace=http:xmlns.oracle.compcbpelnxsdextensionsSampleNS xmlns:tns=http:xmlns.oracle.compcbpelnxsdextensionsSampleNS elementFormDefault=qualified attributeFormDefault=unqualified nxsd:encoding=US-ASCII nxsd:stream=chars nxsd:version=NXSD xsd:element name=Container xsd:complexType xsd:choice minOccurs=1 maxOccurs=unbounded nxsd:choiceCondition=terminated nxsd:terminatedBy=, xsd:element name=Customer nxsd:conditionValue=== Cust1 or == Cust2 and = emp xsd:complexType xsd:sequence xsd:element name=C1 type=xsd:string nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy=quot; xsd:element xsd:element name=C2 type=xsd:string nxsd:style=terminated nxsd:terminatedBy={eol} nxsd:quotedBy=quot; xsd:element xsd:sequence xsd:complexType xsd:element xsd:element name=Item nxsd:conditionValue=== Item1 or == Item2 or ==Item3 or == Item4 xsd:complexType xsd:sequence xsd:element name=C1 type=xsd:string nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy=quot; xsd:element xsd:element name=C2 type=xsd:string nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy=quot; xsd:element xsd:element name=C3 type=xsd:string nxsd:style=terminated nxsd:terminatedBy={eol} nxsd:quotedBy=quot; xsd:element xsd:sequence xsd:complexType xsd:element xsd:element name=Order nxsd:conditionValue=Order xsd:complexType xsd:sequence xsd:element name=C1 type=xsd:string nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy=quot; xsd:element xsd:element name=C2 type=xsd:string nxsd:style=terminated nxsd:terminatedBy={eol} nxsd:quotedBy=quot; xsd:element xsd:sequence xsd:complexType xsd:element xsd:choice