ODI 12.2.1: ASCII Files


Options



Before Your Begin

Purpose

This tutorial covers how to use complex ASCII files as datastores, and how to invoke web services to and from ODI packages.

Time to Complete

Approximately 1 hour. 

Background

Sometimes it makes more sense to store data in a flat, ASCII file than in a relational database. Other times you need to have data from a flat ASCII file be available for combining with RDBMS tables. ASCII files come in several forms: CSV, column-delimited, and complex. Complex files often have header and detail records. Complex files can be in XML format or JSON format. This OBE explores how to take the XML format and represent it by multiple RDBMS tables.

Web services may be present in your enterprise, or "out there" on the Internet. It is helpful to be able to call a web service from inside of an ODI package. Likewise, it is helpful to be able to invoke an ODI package from a web service. This OBE explores how to invoke a remote web service from inside an ODI package and return a SOAP response.

Scenario

A web service already exists on the Internet that returns a list of countries as an XML file. You want to invoke it from inside of an ODI package.

What Do You Need?

The following is a list of software and hardware requirements used in this Oracle By Example (OBE):

  • Software
    • Oracle Enterprise Linux (OEL) 6.4 or higher
    • Oracle Database 12c Release 1 Enterprise Edition (12.1.0.2) - including Oracle Big Data SQL-enabled external tables, Oracle Advanced Analytics, Oracle OLAP, Oracle Partitioning, Oracle Spatial and Graph, and more
    • Oracle Data Integrator (ODI) 12.2.1 or higher
    • Alternatively, the Oracle Data Integrator Getting Started Virtual Machine (the VM) contains all of the above pre-installed.
  • Hardware
    • At least 2 GB RAM for each target (database or ODI)
    • At least 6 GB RAM for the VM (if you are using that)

Prerequisites

Before starting this tutorial, you should:

  • Have at least 6 GB RAM if you're using the Oracle Data Integrator Getting Started VM
  • Have access to or have installed the sample lab artifacts
  • Have attended ODI 12c training, [D82167GC10] Oracle Data Integrator 12c: Integration and Administration, or equivalent experience.

Typographic Conventions

These are the conventions used throughout this practice to indicate who types what.

  • Filename or /path/subdirectory/. Often you can navigate to a destination without having to type it.
  • Command or value that you type, such as gedit .bashrc. Be mindful of periods at the end of sentences that are not part of the command.
  • Click this such as or .
  • Some variable or <variable> as something you replace. Often prefixed with "my" such as <myName> or <myHost>.
  • A Menu Item or dialog Field Prompt or Tab name. For example, "click the Designer tab and select Models > New Model".
  • Generally a red rectangle in the graphics is not part of the original image, but added to draw your attention to an item.

1. Complex Files

Complex files are files that are not simply column-delimited, but rather have objects of a certain custom-defined type (for example, addressType: work, home, school) nested within objects (for example, personType: customer, employee, vendor). Examples of complex files are JSON, XML, and so on. These files are defined by a schema. To create a schema file so that ODI can parse these ASCII files as relational database tables, perform the following steps:

1.1 Start ODI

  1. Go to the Linux Desktop, and using either the File Browser or an editor from the command line, open OBE_Files/Complex_Files/Purchase_sample.txt file. Review its contents as shown below:

    alt desc
    
     6335722^Company One^First Street   999       San Jose       95129USCA650-801-6250   
            ^Oracle^Bridge Parkway 1600      Redwood Shores 94065USCA650-506-7000
     001|Oracle Data Integrator EE|20000,2,+40000+
     002|Application Adapter for ODI|10000,5,+50000+
     003|BPEL Process Manager Enterprise Edition|20000,2,+40000+
     004|BPEL Process Manager Standard Edition|10000,5,+50000+
     005|BPEL Process Manager Developer Edition|1000,20,+20000+#110000 
    		    

    Note that the field separators are sometimes pipes (vertical bars), sometimes carets, sometimes commas, and sometimes plusses. Other times the fields are fixed length. The structure is not obvious, and not self-documenting!

  2. Start ODI Studio using the Desktop shortcut icon ODI_logo.

    splash w/bar

    Alternatively, if there is a Desktop Launcher shortcut, click on that.

  3. Click Connect to Repository. Log in to ODI Getting Started repository.

    ODI Login
    ODI Init

    The userid and password should be stored and pre-populated from the Wallet. (If you are ever challenged for the Wallet password, it is welcome1.)

ODI is now started and ready to build nXSD schemas.

1.2 Create an nXSD with Native Format Builder Wizard

  1. Go to Topology > Physical Architecture > Technologies > Complex File, right-click Complex File and select New Data Server.

    alt desc
  2. In the Definition panel, name the Data Server Purchase Order.

    alt desc
  3. In the JDBC panel, click Search (Magnifying) and select ODI JDBC Driver for Complex Files from the list.

    alt desc

    Click .

  4. Click to open the Native Format Builder wizard.

    alt desc

    Your screen may look longer, it has been trimmed here for brevity. Click .

  5. Enter PurchaseOrder.xsd as the File Name.

    and select /home/oracle/Desktop/OBE_Files/Complex_Files as the Directory Name.

    alt desc

    Click .

  6. Select Complex Type in file type list.

    NFWB 2 of 8

    Click .

  7. In the File Description screen, browse and select /home/oracle/Desktop/OBE_Files/Complex_Files/Purchase_sample.txt as the File name.

    Enter http://xmlns.oracle.com/odi/complexfile/demo as the Target namespace.

    Enter invoice as the Root element.

    NFBW 3 of 5

    Most of these entries are case-sensitive.

    Preview the content of the file in the dark gray box. Scroll to see the header records.

    Click .

  8. Design the nXSD file using the Design Schema panel. Click the Add Complex Type icon (AddComplexType).

    NFBW 4 of 5
  9. Double-click <new_complex_type> and rename it addressType.

    alt desc

    Press Enter.

    1. Expand [+] addressType, select C1 and click Edit (pencil).

      alt desc

      Your panel will look wider, this has been trimmed for clarity. Set the following values:

      • Field Name = street1.
      • Style = fixedLength
      • Length = 15
      • Pad Style = tail
      • Padding = Single Space (which is the default)
      alt desc

      Click .

    2. Click addressType and click Add Element icon (AddElement).

      alt desc

      Select <new_element> and rename it street2. Click Edit (pencil).

      alt desc

      Set the following values:

      • Style = fixedLength
      • Length = 10
      • Pad Style = tail
      • Padding = Single Space (which is the default)
      alt desc

      Click .

    3. Click addressType and click Add Element icon (AddElement).

      alt desc

      Select <new_element> and rename it city. Click Edit (pencil).

      alt desc

      Set the following values:

      • Style = fixedLength
      • Length = 15
      • Pad Style = tail
      • Padding = Single Space (which is the default)
      alt desc

      Click .

    4. Click addressType and click Add Element icon (AddElement).

      alt desc

      Select <new_element> and rename it postal-code. Click Edit (pencil).

      alt desc

      Set the following values:

      • Style = fixedLength
      • Length = 5
      • Pad Style = none
      • Padding = (blank) (which is the default)
      alt desc

      Click .

    5. Click addressType and click Add Element icon (AddElement).

      alt desc

      Select <new_element> and rename it country. Click Edit (pencil).

      alt desc

      Set the following values:

      • Style = fixedLength
      • Length = 2
      • Pad Style = none
      • Padding = (blank) (which is the default)
      alt desc

      Click .

    6. Click addressType and click Add Element icon (AddElement).

      alt desc

      Select <new_element> and rename it state. Click Edit (pencil).

      alt desc

      Set the following values:

      • Style = fixedLength
      • Length = 2
      • Pad Style = tail
      • Padding = Single Space (which is the default)
      alt desc

      Click .

    7. Click addressType and click Add Element icon (AddElement).

      alt desc

      Select <new_element> and rename it phone. Click Edit (pencil).

      alt desc

      Set the following values:

      • Style = terminated
      • Terminated By = ${eol}
      alt desc

      Click .

  10. Select invoice and click Add Complex Type icon (AddComplexType).

    alt desc
  11. Double-click <new_complex_type> and rename it line-itemType.

    alt desc

    Press Enter.

    1. Expand [+] line-itemType, select C1 and click Edit (pencil).

      alt desc

      Set the following values:

      • Field Name = uid.
      • Style = fixedLength
      • Length = 3
      • Pad Style = none
      • Padding = (blank) (which is the default)
      alt desc

      Click .

    2. Click line-itemType and click Add Element icon (AddElement).

      alt desc

      Select <new_element> and rename it description. Click Edit (pencil).

      alt desc

      Set the following values:

      • Style = surrounded
      • Surrounded By = | (the vertical bar or pipe)
      alt desc

      Click .

    3. Click line-itemType and click Add Element icon (AddElement).

      alt desc

      Select <new_element> and rename it price. Click Edit (pencil).

      alt desc

      Set the following values:

      • Type = double
      • Style = terminated
      • Terminated By = , (comma)
      alt desc

      Click .

    4. Click line-itemType and click Add Element icon (AddElement).

      alt desc

      Select <new_element> and rename it quantity. Click Edit (pencil).

      alt desc

      Set the following values:

      • Type = integer
      • Style = terminated
      • Terminated By = , (comma)
      alt desc

      Click .

    5. Click line-itemType and click Add Element icon (AddElement).

      alt desc

      Select <new_element> and rename it line-total. Click Edit (pencil).

      alt desc

      Set the following values:

      • Type = double
      • Style = surrounded
      • Surrounded By = + (plus)
      alt desc

      Click .

  12. Select invoice and click Add Complex Type icon (AddComplexType).

    alt desc
  13. Double-click <new_complex_type> and rename it partnerType.

    alt desc

    Press Enter.

    1. Expand [+] partnerType, select C1 and click Edit (pencil).

      alt desc

      Set the following values:

      • Field Name = uid.
      • Style = fixedLength
      • Length = 7
      • Pad Style = tail
      • Padding = Single Space (which is the default)
      alt desc

      Click .

    2. Click partnerType and click Add Element icon (AddElement).

      alt desc

      Select <new_element> and rename it name. Click Edit (pencil).

      alt desc

      Set the following values:

      • Style = surrounded
      • Surrounded By = ^ (caret)
      alt desc

      Click .

    3. Click partnerType and click Add Element icon (AddElement).

      alt desc

      Select <new_element> and rename it address. Click Edit (pencil).

      alt desc

      Set the following value:

      • Type = addressType
      alt desc

      Click .

  14. Select invoice and click Add Complex Type icon (AddComplexType).

    alt desc
  15. Double-click <new_complex_type> and rename it invoiceType.

    alt desc

    Press Enter.

    1. Expand [+] invoiceType, select C1 and click Edit (pencil).

      alt desc

      Set the following value:

      • Field Name = purchaser.
      • Type = partnerType
      alt desc

      Click .

    2. Click invoiceType and click Add Element icon (AddElement).

      alt desc

      Select <new_element> and rename it seller. Click Edit (pencil).

      alt desc

      Set the following value:

      • Type = partnerType
      alt desc

      Click .

    3. Click invoiceType and click Add Element icon (AddElement).

      alt desc

      Select <new_element> and rename it line-item. Click Edit (pencil).

      alt desc

      Set the following values:

      • Type = line-itemType
      • Max Occurs = UNBOUNDED
      • Select Array
      • Cell Separator = ${eol}
      • Array Separator = # (hash)
      alt desc

      Click .

    4. Click invoiceType and click Add Element icon (AddElement).

      alt desc

      Select <new_element> and rename it total. Click Edit (pencil).

      alt desc

      Set the following values:

      • Type = Double
      • Style = terminated
      • Terminated By = ${eol}
      alt desc

      Click .

    5. Click invoice (not invoiceType) and click Add Element icon (AddElement).

      alt desc

      Select <new_element> and rename it invoiceElt. Click Edit (pencil).

      alt desc

      Set the following value:

      • Data Type = invoiceType
      alt desc

      Click . On Design Schema, click .

  16. Review the XSD, scroll up and down to see it all. Click .

    alt desc
  17. Click Play (Green Arrow) to preview (on the right side) the XML file that will be created by the Complex File driver.

    alt desc

    Click , click , click to close the Wizard.

  18. Using the Properties table in the JDBC panel of the Data Server set file to /home/oracle/Desktop/OBE_Files/Complex_Files/Purchase_sample.txt.

    alt desc

    You have to scroll down a bit to get to the file field.

  19. Click and Save (Diskette) the newly created Data Server.

    alt desc

    Ignore the other informational messages about Physical Schemas and Contexts, you will do that next. Close the Purchase Order tab.

You have successfully created an nXSD using the Native Format Builder Wizard. (There are other tools as well that you could have used.)

1.3 Create Topology and Designer Objects

  1. In Topology > Physical Architecture > Technologies > Complex File, right-click Purchase Order to create a New Physical Schema for the Purchase Order Data Server.

    alt desc

    Set Schema and Work Schema fields to XSDSCHEMA.

    alt desc

    Click Save (Diskette) and close the tab. Ignore the Information message about Context, you will do that next.

  2. In Topology > Logical Architecture > Technologies > Complex File, right-click Complex File to create a New Logical Schema.

    alt desc

    Name it LSC_PO_CPLX_FILE, and assign the Global Context for the Physical Schemas to Purchase Order.XSDSCHEMA.

    alt desc

    Click Save (Diskette) and close the tab.

  3. In Designer > Models, click the pull-down and create a New Model linked to this logical schema.

    alt desc

    Name it myComplex and set Technology: Complex File.

    alt desc

    Click Save (Diskette) but leave the tab open.

  4. the Model.

    alt desc

    Close the tab.

  5. Expand [+] myComplex and right-click LINE_ITEM datastore to View Data.

    alt desc

    Look at some of the other tables as well to see how they correspond to the ASCII file.

    alt desc

    Close the Data tab.

You have created the Topology and Designer objects.

You have created a complex file schema definition and model for ODI to represent an ASCII file as a set of RDMBS tables.

2. Using ODI JDBC Drivers Properties

The objective is to access ASCII XML files via JDBC, and to represent them in ODI as relational tables. To do this, perform the following steps:

2.1 Prolog

The sample XML file is geographic data (countries, regions, cities, and populations).

  1. Go to the Linux Desktop, and using either the File Browser or an editor from the command line, open the /home/oracle/Desktop/OBE_Files/XML/GEO_DIM.xml file. Review its contents as shown below:

    alt desc
    
    <?xml version="1.0" encoding="UTF-8"?>
    <GEOGRAPHY_DIM>
        <country COUNTRY_ID="6" COUNTRY_NAME="Autralia">
            <region REGION_ID="72" REGION_NAME="Queensland">
                <city CITY_ID="63" CITY_NAME="Brisbane" POPULATION="505179"/>
                <city CITY_ID="64" CITY_NAME="Gold Coast" POPULATION="575174"/>
            </region>
            <region REGION_ID="70" REGION_NAME="South Wales">
                <city CITY_ID="61" CITY_NAME="Canberra" POPULATION="353288"/>
                <city CITY_ID="60" CITY_NAME="Sidney" POPULATION="890962"/>
            </region>
            <region REGION_ID="71" REGION_NAME="Victoria">
                <city CITY_ID="62" CITY_NAME="Melbourne" POPULATION="857478"/>
            </region>
        </country>
        <country COUNTRY_ID="2" COUNTRY_NAME="France">
            <region REGION_ID="31" REGION_NAME="French Alps">
                <city CITY_ID="24" CITY_NAME="Grenoble" POPULATION="488825">
                    <client ADRESS="12 allee Victor Hugo" AGE="42.0"
                        CLIENT_ID="204.0" FIRST_NAME="Martin" LAST_NAME="Christine"/>
                </city>
    
    <!-- (...many lines skipped for clarity...) -->
    		    

    Note that the fields are semi-self-documenting, but it still does not indicate explicitly whether "country" is string or number, whether it is required or optional, or the maximum occurrences of each field. That is what the DTD is for!

  2. If ODI Studio is not started, start it now.

    alt desc

    The steps to do that are in previous Topic 1.1.

  3. In Topology > Physical Architecture > Technologies > XML, right-click XML and create a New Data Server.

    alt desc
  4. In the Definition panel, name the Data Server GEO_DIM.

    alt desc

    Leave the other fields as their defaults or blank.

  5. In the JDBC panel, click Search (Magnifying) and select ODI JDBC Driver for XML from the list.

    alt desc

    Click .

That was the easy part! Now comes the actual JDBC configuration...

2.2 JDBC Properties Table

The XML Data Server configuration is now done using the Properties table.

  1. Scroll down in the list and click Browse in the Value field of the file row to Open an XML file.

    alt desc

    The fields are not listed in any logical order, just scroll down until you see Category file.

  2. Navigate to /home/oracle/Desktop/OBE_Files/XML and select GEO_DIM.xml.

    alt desc

    Select the file and click .

  3. Click Browse corresponding to the dtd Value field and select /home/oracle/Desktop/OBE_Files/XML/GEO_DIM.dtd.

    alt desc

    Select the file and click .

  4. Set root_elt to GEOGRAPHY_DIM to define the XML file root element.

    Set schema to ODIXMLSCHEMA.

    alt desc
  5. To hold the XML data into a DB schema instead of the memory of the ODI agent, use the External DB Properties fields. Scroll down in the list and set dp_driver = oracle.jdbc.OracleDriver.

    Set dp_schema to ODIXMLSCHEMA.

    alt desc

    You have to type these values, it does not read them from a list of choices.

  6. Set dp_password to qFgaJhVx7tdruALdT6Sm1g== (encoded version of oracle).

    dp_password

    If you wondered how that encrypted password came to be, optionally do the following steps:

    1. In Designer > Projects > (any project) > First Folder > Packages, create a New Package named EncryptMyPswd.

      New Pkg Pkg Name

      Since this is a throw-away package, you can put it anywhere and name it anything.

    2. Under Toolbox > Internet, add an OdiFtpGet tool step.

      alt desc
    3. Configure it by entering your password oracle.

      alt desc

      The password you enter will display as circles (oooooooo).

    4. Click the Command tab, you should see the encoded string corresponding to oracle for your current repository.

      alt desc

      You can copy and paste this password into configuration fields. The resulting encryption is different for each repository. Close the tab, you can choose to save the package or not (you should not need it any more.)

  7. Set dp_url to jdbc:oracle:thin:@localhost:1521/orcl.

    Set dp_user to system.

    alt desc

    This url syntax is different from the earlier versions of ODI where the final port delimiter was a : (colon) and not a / (slash). This is due to JDBC syntax, not to ODI. For example, Pluggable database would only support the slash.

  8. Click and Save (Diskette) the newly created Data Server.

    Test Connection Successful Conn

    Click , click , click . Close the GEO_DIM tab. 

The JDBC portion is successfully configured.

2.3 Create Topology and Designer Objects

  1. Under Topology > Physical Architecture > Technologies > XML > GEO_DIM, right-click to create a New Physical Schema for this Data Server.

    alt desc

    Set Schema and Work Schema to ODIXMLSCHEMA.

    alt desc

    Save (Diskette) and close the GEO_DIM.ODIXMLSCHEMA tab.

  2. Under Topology > Logical Architecture > Technologies > XML, right-click to create a New Logical Schema.

    alt desc

    Name it LSC_GEO_DIM. in the Context Global, associate it with Physical Schemas GEO_DIM.ODIXMLSCHEMA.

    alt desc

    Save (Diskette) and close the LSC_GEO_DIM Logical Schema tab.

  3. In Designer > Models, use the pull-down to create a New Model.

    alt desc

    Name it myXMLgeo, set Technology: XML and set Logical Schema: LSC_GEO_DIM.

    alt desc
  4. Go to Selective Reverse Engineering tab, select New Datastores and Objects to Reverse Engineer.

    alt desc

    Since you are leaving the default of selecting everything, this step is really optional.

  5. Click .

    alt desc

    Click when prompted. Close the myXMLgeo tab.

  6. Expand [+] myXMLgeo. Right-click COUNTRY datastore and select View Data.

    alt desc
    alt desc

    Close the Data: COUNTRY tab.

  7. Using a Terminal, connect to the Oracle Database using SQL*Plus and review the data at the DB level:

    
    [OS] sqlplus system/oracle 
    SQL> col country_id format a8 
    SQL> col country_name format a15 
    SQL> select * from ODIXMLSCHEMA.ODIXMLSCHEMA_COUNTRY; 
    
    COUNTRYORDER  COUNTRYPK COUNTRY_ COUNTRY_NAME	 GEOGRAPHY_DIMFK
    ------------ ---------- -------- --------------- ---------------
    	   0	      0 6	 Autralia		       0
    	   1	      1 2	 France 		       0
    	   2	      2 4	 Germany		       0
    	   3	      3 3	 Great Britain		       0
    	   4	      4 5	 Japan			       0
    	   5	      5 7	 Nederland		       0
    	   6	      6 1	 USA			       0
    
    7 rows selected.
    
    SQL> exit;  
    			

    (Don't worry about the spelling of Australia...)

You have created the Topology and Designer objects.

You have created an XML Data Server configuration for ODI to represent an XML ASCII file as a set of RDMBS tables.

3. Web Service Data Server

To invoke a Web Service from an ODI package, perform the following steps:

3.1 Configuring Topology

  1. If ODI Studio is not started, start it now.

    alt desc

    The steps to do that are in previous Topic 1.1.

  2. In the Navigation panel, go to Topology > Physical Architecture > Technologies.

    alt desc
  3. Under Physical Architecture > Technologies, right-click SOAP Web Service and select New Data Server.

    alt desc
  4. Set Name: CountriesList.

    Set WSDL URL: http://www.webservicex.net/country.asmx?WSDL. (The trailing period is not part of the URL.)

    alt desc

    On the main menu bar, click Save (diskette). Click on the Information dialog for physical schemas.

  5. Click . On Test Connection, use Local (no agent) by clicking .

    alt desc

    If successful, click . Close the CountriesList tab.

  6. Right-click CountriesList and select New Physical Schema.

    alt desc

    Accept the default Name.

  7. Set Service: country.

    Set Port: countrySoap.

    alt desc

    Accept the default Endpoint URL and Binding.

  8. Click Context tab and Add (green + plus) a new Logical Schema: LSC_WS_COUNTRIESLIST linked to the Context: Global.

    alt desc

    On the main menu bar, click Save (diskette). Close the CountriesList_Default tab.

You have configured the Topology Physical and Logical Architectures.

3.2 Configuring Designer

  1. On the Designer tab, expand [+] Projects > Demo > Sales Administration > Packages. Right-click Packages and create a New Package.

    Packages New Pkg
  2. Name it Invoke Web Service.

    New Pkg

    Click .

  3. Create an OdiInvokeWebService tool step (Toolbox > Internet > OdiInvokeWebService).

    Tool step

    The order is: first select the Free Choice (pointer) tool, then click the Odi tool itself, then click (not drag) in the work area.

  4. In Properties, set the following paramters and values:

    • Step name: Get List of Countries
    • Context: Global
    • Logical Schema: LSC_WS_ COUNTRIESLIST
    • Properties

      You are only half-done. Leave the package open.

The basic parts of the tool step are configured. Next is the HTTP Analyzer.

3.3 Configuring HTTP Analyzer

  1. On Properties > General, click (a.k.a. "Advanced Editor").

    alt desc
  2. In the Advanced Editor, set Operations: countrySoap.GetCountries(,).

    alt desc

    Leave Credentials as-is: <no credential>. Click .

  3. In Properties, set the following paramters and values:

    • Storage Mode for Response File: New File
    • XML Encoding for Response File: UTF-8
    • Response File: /home/oracle/Desktop/OBE_Files/Web Service/CountriesList.xml
      (Since the file itself does not exist, you cannot navigate to it with browse , you must enter the whole path.)
    • Response File Format: XML
    alt desc

    Click Save (Diskette), and close the package tab.

The package that invokes web service is created and configured.

3.4 Running the Package

  1. Select the Invoke Web Service package and click Run (green arrow).

    Run pkg Run

    Accept the defaults for the Run dialog. Click .

  2. Review the execution in the Operator tab. Make sure there are no errors.

    alt desc

    You can find your session under several different nodes: Date or Sessions.

  3. From the Linux Desktop, open the OBE_Files/Web Service folder and open CountriesList.xml to review its content.

    
     [OS]$  cd ~/Desktop/OBE_Files/Web\ Service/ 
     [OS]$  ll 
     total 16
     -rw-r-----. 1 oracle oinstall 15264 Feb  5 14:41 CountriesList.xml   
     [OS]$  more CountriesList.xml 
     <?xml version = '1.0' encoding = 'UTF-8'?>
     <GetCountriesResponse xmlns="http://www.webserviceX.NET">
       <GetCountriesResult><NewDataSet>
       <Table>
         <Name>Afghanistan, Islamic State of</Name>
       </Table>
       <Table>
         <Name>Albania</Name>
       </Table>
       <Table>
         <Name>Algeria</Name>
       </Table>
       <Table>
         <Name>American Samoa</Name>
       </Table>
       <Table>
         <Name>Andorra, Principality of</Name>
       </Table>
       <Table>
         <Name>Angola</Name>
       </Table>
     --More--(6%) 
    		    

    Press the letter Q to quit the more file list.

You have tested the package and examined the returned file.

This web service creates an XML file of a list of countries on your VM from the remote host.

What to Learn More?

In this Oracle By Example (OBE) tutorial, you learned how to:

  • Access complex files by creating nXSD using the FOrmat Builder Wizard
  • Configure JDBC Drivers for ODI
  • Configure Web Services using the HTTP Analyzer
  • Create a package that invokes a web service that returns an XML file.

Resources

Conceptual or procedural Help topics relevant to the topic of this tutorial:

Credits

As always, a team effort. This is a partial list of the team:

  • Lead Curriculum Developer: Julien Testut
  • Other Contributors: Steve Friedberg, Alex Kotopoulis, Ayush Ganeriwal