bea.com | products | dev2dev | support | askBEA
 Download Docs   Site Map   Glossary 
Search

Administration Guide

 Previous Next Contents Index View as PDF  

Configuring Access to XML Files

Before a BEA Liquid Data for WebLogicTM query can access data in an XML file, the XML file must be configured as a Liquid Data data source. The XML file must also be added to the xml_files folder of the Liquid Data Server repository, as described in Uploading Files to the Server Repository. Once configured according to the instructions in this topic, XML files with data source descriptions will show up as data sources available for use in any EJB client, such as the Data View Builder, that connects to this server.

The following topics are included:

 


Creating an XML File Data Source Description

To access an XML file from Liquid Data, you must first create a data source description that tells Liquid Data how to find the XML file.

Note: You must log in with modify access before you can create a data source description. For more information, see Administration Console Security.

To create a data source description for an XML file:

  1. In the left pane, click the Liquid Data node.

  2. In the right pane, click the Configuration tab.

  3. Click the Data Sources tab.

  4. Click the XML File tab.

  5. Click the Configure a new XML file source description text link.

    The configuration tab for creating a new XML file Liquid Data source description is displayed.

    Figure 8-1 Configuring a Liquid Data Source Description for an XML File


     

  6. Fill in the fields as detailed in the following table.


     

  7. Click Create.

    The Administration Console displays the new XML file data source description in the summary table.

Note: If security is enabled on your Liquid Data server, you must configure access to this data source description, as described in Configuring Secure Access to Data Source Descriptions. In addition, you can configure access to any underlying XML files in the repository, as described in Configuring Secure Access to Items in the Server Repository.

 


Summary of Configured Data Sources

The summary table shows a list of configured data sources of a particular type and a subset of configuration information for quick scanning. From the summary list, you can do the following:

Note: You can also view all data sources from the All Data Sources configuration tab on the Liquid Data node in the Administration Console, as described in Viewing and Accessing All Configured Data Sources.

 


Modifying an XML File Data Source Description

You can modify an existing XML file data source description.

Note: You must log in with modify access before you can modify a data source description. For more information, see Administration Console Security.

To modify an existing data source description for an XML file:

  1. In the left pane, click the Liquid Data node.

  2. In the right pane, click the Configuration tab.

  3. Click the Data Sources tab.

  4. Click the XML File tab.

    A table of configured Liquid Data XML files is shown.

  5. Click on the XML file for which you want to modify the source description.

  6. Change the settings as needed.

  7. Click Apply.

  8. Verify the operation of any existing queries that depend on the data source configuration you just changed.

 


Removing an XML File Data Source Description

You can remove a data source description that you no longer need. Removing a data source description does not remove the actual XML file to which it refers. To explicitly remove the XML file from the repository, see Deleting Folders and Files in the Server Repository.

Note: You must log in with modify access before you can remove a data source description. For more information, see Administration Console Security.

To remove a data source description for an XML file:

  1. In the left pane, click the Liquid Data node.

  2. In the right pane, click the Configuration tab.

  3. Click the XML File tab.

    A table of configured Liquid Data XML data sources is shown.

  4. Find the XML file that you want to remove and click the trash can next to it.

  5. When prompted, click Yes to confirm removal.

    The Administration Console removes the selected data source description.

 

Back to Top Previous Next