Removing a Data Source Administrative Redefining a Data Source
7.1.2 Removing a Data Source Administrative
The remove_data_source element can be used to remove a permanent data source or a dynamically added data source. This element has the following definition: ELEMENT non_map_request remove_data_source ELEMENT remove_data_source EMPTY ATTLIST remove_data_source data_source CDATA REQUIRED jdbc_password CDATA REQUIRED The data_source attribute identifies the name of the data source to be removed. The jdbc_password attribute identifies the login password for the database user in the data source. jdbc_password is required for security reasons to prevent people from accidentally removing data sources from MapViewer. Removing a data source only affects the ability of MapViewer to use the corresponding database schema; nothing in that schema is actually removed. Example 7–3 removes a data source named mvdemo. Example 7–3 Removing a Data Source ?xml version=1.0 standalone=yes? non_map_request remove_data_source data_source=mvdemo jdbc_password=password non_map_request The DTD for the response to a remove_data_source request has the following format: ELEMENT non_map_response remove_data_source ELEMENT remove_data_source EMPTY ATTLIST remove_data_source succeed true | false REQUIRED For example: ?xml version=1.0 ? non_map_response remove_data_source succeed=true non_map_response7.1.3 Redefining a Data Source
Note: You should use request only during development or testing, and not for production work. MapViewer XML Requests: Administrative and Other 7-5 For convenience, MapViewer lets you redefine a data source. Specifically, if a data source with the same name already exists, it is removed and then added using the new definition. If no data source with the name exists, a new data source is added. If an existing data source has the same name, host, port, SID, user name, password, mode, and number of mappers as specified in the request, the request is ignored. The redefine_data_source element has the following definition: ELEMENT non_map_request redefine_data_source ELEMENT redefine_data_source EMPTY ATTLIST redefine_data_source name CDATA REQUIRED container_ds CDATA IMPLIED jdbc_tns_name CDATA IMPLIED jdbc_host CDATA IMPLIED jdbc_port CDATA IMPLIED jdbc_sid CDATA IMPLIED jdbc_user CDATA IMPLIED jdbc_password CDATA IMPLIED jdbc_mode oci8 | thin IMPLIED number_of_mappers INTEGER REQUIRED The attributes and their explanations are the same as for the add_data_source element, which is described in Section 7.1.1 . The DTD for the response to a redefine_data_source request has the following format: ELEMENT non_map_response redefine_data_source ELEMENT redefine_data_source EMPTY ATTLIST redefine_data_source succeed true | false REQUIRED For example: ?xml version=1.0 ? non_map_response redefine_data_source succeed=true non_map_response7.1.4 Listing All Data Sources Administrative or General-Purpose
Parts
» Oracle Fusion Middleware Online Documentation Library
» Overview of MapViewer Oracle Fusion Middleware Online Documentation Library
» Unpacking the MapViewer EAR Archive Using the MapViewer Administration Page
» Deploying MapViewer in an Oracle Fusion Middleware 10gR3 Environment
» Verifying That the Deployment Was Successful
» Running SQL Scripts Creating MapViewer Array Types, if Necessary
» Specifying Logging Information Configuring MapViewer
» Specifying Map File Storage and Life Cycle Information
» Restricting Administrative Non-Map Requests
» Specifying a Web Proxy Specifying Global Map Configuration Options
» Customizing the Spatial Data Cache Specifying the Security Configuration
» Customizing SRS Mapping Customizing WMS GetCapabilities Responses
» Configuring the Map Tile Server for Oracle Maps Defining Permanent Map Data Sources
» Logging in to the MapViewer Administration Page Performing MapViewer Administrative Tasks
» Creating a Container Oracle RAC Data Source Creating a MapViewer Data Source
» Deploying MapViewer on a Multiprocess OC4J Instance Deploying MapViewer on a Middle-Tier Cluster
» How Secure Map Rendering Works
» Getting the User Name from a Cookie Authenticating Users: Options and Demo
» Getting Started with MapViewer Prerequisite Software for MapViewer MapViewer Demos and Tutorials
» Scaling the Size of a Style Scalable Styles
» Specifying a Label Style for a Bucket
» Controlling Text Style Orientation
» Making a Text Style Sticky Getting a Sample Image of Any Style
» Styling Rules in Predefined Spatial Geometry Themes
» How MapViewer Formulates a SQL Query for a Styling Rule
» Styling Rules with Binding Parameters Applying Multiple Rendering Styles in a Single Styling Rule
» Caching of Predefined Themes
» Prepare the translations. Feature Labels and Internationalization
» Defining a Point JDBC Theme Based on Two Columns
» Storing Complex JDBC Themes in the Database
» Creating Predefined Image Themes
» Using Bitmap Masks with GeoRaster Themes Reprojection of GeoRaster Themes
» Creating Predefined Network Themes
» Using MapViewer for Network Analysis
» Custom Geometry Themes Themes
» Thematic Mapping Using External Attribute Data
» Attributes Affecting Theme Appearance
» Cross-Schema Map Requests Oracle Fusion Middleware Online Documentation Library
» Workspace Manager Support in MapViewer
» Map Request with Center, Base Map, Dynamically Defined Theme, and Other Features
» Map Request with an Image Theme Map Request for Image of Map Legend Only
» Map Request with SRID Different from Data SRID Map Request Using a Pie Chart Theme
» Map Request Using Advanced Styles and Rendering Rules
» Map Request Using Stacked Styles WFS Map Requests
» Java Program Using MapViewer
» map_request Attributes map_request Element
» bounding_themes Element Map Request DTD
» geoFeature Element Map Request DTD
» jdbc_georaster_query Element jdbc_image_query Element
» jdbc_network_query Element jdbc_query Element
» jdbc_topology_query Element legend Element
» map_tile_theme Element north_arrow Element
» operation Element operations Element
» parameter Element scale_bar Element
» style Element styles Element theme Element
» themes Element theme_modifiers Element
» Information Request DTD Map Response DTD
» MapViewer Exception DTD Geometry DTD OGC
» Usage Model for the MapViewer JavaBean-Based API
» Creating the MapViewer Bean Setting Up Parameters of the Current Map Request
» Adding Themes or Features to the Current Map Request
» Adding Dynamically Defined Styles to a Map Request
» Manipulating Themes in the Current Map Request
» Sending a Request to the MapViewer Service
» Using Optimal Methods for Thick Clients
» Preparing to Use the MapViewer JavaBean-Based API Using MapViewer JSP Tags
» addJDBCTheme MapViewer JSP Tag Reference Information
» addPredefinedTheme getMapURL getParam MapViewer JSP Tag Reference Information
» identify MapViewer JSP Tag Reference Information
» importBaseMap init makeLegend MapViewer JSP Tag Reference Information
» run setParam MapViewer JSP Tag Reference Information
» JSP Example Several Tags for MapViewer
» Granting Network Access Creating a MapViewer Client Handle
» Adding a Data Source Administrative
» Removing a Data Source Administrative Redefining a Data Source
» Listing All Data Sources Administrative or General-Purpose
» Installing the SDO_MVCLIENT Package Listing All Maps General-Purpose
» Listing Themes General-Purpose Oracle Fusion Middleware Online Documentation Library
» Listing Styles General-Purpose Listing Styles Used by a Predefined Theme General-Purpose
» Architecture for Oracle Maps Applications Simple Example Using Oracle Maps
» Map Tile Layers How Map Content Is Organized
» Theme-Based FOI Layers User-Defined FOI Layers
» Map Tile Layers and Map Tile Sources Storage of Map Image Tiles Coordinate System for Map Tiles
» Tile Mesh Codes Tiling Rules
» Global Map Tile Server Configuration Map Tile Layer Configuration
» Predefined Theme-Based FOI Layers
» Templated Predefined Themes Dynamic JDBC Query Theme-Based FOI Layers
» Creating One or More Map Tile Layers Defining FOI Metadata
» Creating the Client Application
Show more