Setting up XML DB Web Services

Native Oracle XML DB Web Services is provided in an XML DB servlet, named orawsv, which supports SOAP 1.1–based Web Services. In the default XML DB installation, the native database Web Services is not enabled. To check status of the native XML DB Web Services feature, we can review the status of the orawsv servlet deployed on the XML DB HTTP server (logging in as SYS or XDB user to run the SQL command) (check_oraws.sql):

Listing 15-1 Checking Setup of the XML DB Web Service

SELECT * FROM XMLTable(

                   XMLNamespaces(DEFAULT ‘http://xmlns.oracle.com/xdb/xdbconfig.xsd’),

                                      ‘/xdbconfig/sysconfig/protocolconfig/httpconfig/

webappconfig/servletconfig/servlet-mappings/servlet-mapping’ ...

Get Oracle Database 11g Building Oracle XML DB Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.