Defining Lists Using Native Schema Constructs

Native Format Builder Wizard 6-19 All Items Separated by the Same Mark, Including the Last Item Unbounded The following sections explain the format of the data to be translated, the native schema, and the translated XML. Native Data Format to Be Translated: configure;startup;runtest;shutdown; Native Schema: ?xml version=1.0 encoding=US-ASCII? schema xmlns=http:www.w3.org2001XMLSchema xmlns:nxsd=http:xmlns.oracle.compcbpelnxsd xmlns:tns=http:xmlns.oracle.compcbpelnxsdsmoketest targetNamespace=http:xmlns.oracle.compcbpelnxsdsmoketest elementFormDefault=qualified attributeFormDefault=unqualified nxsd:stream=chars nxsd:version=NXSD element name=list type=tns:CommandSet complexType name=CommandSet nxsd:style=list nxsd:itemSeparatedBy=; sequence element name=Cmd1 type=string element name=Cmd2 type=string element name=Cmd3 type=string element name=Cmd4 type=string sequence complexType schema Translated XML Using the Native Schema: list xmlns=http:www.oracle.comiasprocessconnect Cmd1configureCmd1 Cmd2startupCmd2 Cmd3runtestCmd3 Cmd4shutdownCmd4 list

6.2.2.5 Defining Arrays

This is for an array of complex types where the individual cells are separated by a separating character and the last cell of the array is terminated by a terminating character. The following are examples of array types: ■ All Cells Separated by the Same Mark, but the Last Cell Terminated by a Different Mark Bounded ■ All Cells Separated by the Same Mark, Including the Last Cell Unbounded ■ Cells Not Separated by Any Mark, but the Last Cell Terminated by a Mark Bounded ■ The Number of Cells Being Read from the Native Data ■ Explicit Array Length 6-20 Oracle Fusion Middleware Users Guide for Technology Adapters All Cells Separated by the Same Mark, but the Last Cell Terminated by a Different Mark Bounded The following sections explain the format of the data to be translated, the native schema, and the translated XML. Native Data Format to Be Translated: Smith, John,1 Old Street, Old Town, Manchester,,0161-499-1717. Fred,2 Old Street, Old Town,Manchester,20-08-1954,0161-499-1718. Smith, Bob,,,0161-499-1719. Native Schema: ?xml version=1.0 encoding=US-ASCII? schema xmlns=http:www.w3.org2001XMLSchema xmlns:nxsd=http:xmlns.oracle.compcbpelnxsd targetNamespace=http:www.oracle.comiasprocessconnect elementFormDefault=qualified attributeFormDefault=unqualified nxsd:stream=chars nxsd:version=NXSD element name=array complexType sequence element name=Member maxOccurs=unbounded nxsd:style=array nxsd:cellSeparatedBy={eol} nxsd:arrayTerminatedBy= complexType sequence element name=Name type=string nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy= element name=Address type=string nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy= element name=DOB type=string nxsd:style=terminated nxsd:terminatedBy=, nxsd:quotedBy= element name=Telephone type=string nxsd:style=terminated nxsd:terminatedBy=. nxsd:quotedBy= sequence complexType element sequence complexType element schema Translated XML Using the Native Schema: array xmlns=http:www.oracle.comiasprocessconnect Member NameSmith, JohnName Address1 Old Street, Old Town, ManchesterAddress DOBDOB Telephone0161-499-1717Telephone Member Member NameFredName Address2 Old Street, Old Town,ManchesterAddress