bea.com | products | dev2dev | support | askBEA |
|
e-docs > Liquid Data for WebLogic > Administration Guide > Configuring Access to XML Files |
Administration Guide |
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:
XML data file. One of the following formats:
|
||
Schema for the XML file in the server repository. Enter the file name, or click Browse Repository to select it. |
||
Identifies the target namespace of the schema file. Example: |
Optional but recommended. If used, Schema Root Element Name must also be supplied. |
|
Identifies a unique root element in the schema file. Many schemas have only a single root. In cases where there are multiple root elements, only elements under the identified root will available as an XML data source. For example, the sample schema CustomerOrderReport described in the Liquid Data Getting Started document has only a single root, CustomerOrder. |
Optional but recommended. If used, Namesapce URI must also be supplied. |
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:
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: