1 Enabling Web Services

This chapter contains the following sections:

For security reasons, Web Services in Oracle Identity Analytics are disabled by default.

1.1 To Enable Web Services

  1. Download and deploy the WSDL4J JAR file as described in the Installation and Upgrade Guide.

  2. In a text editor, open the web.xml file located in the RBACX_Home/WEB-INF folder.

  3. Search for the string WEB SERVICES.

    There are three occurrences that you will update in the following steps.

    1. Add the context configuration parameter value as follows:

      Change:

      <context-param>
              <param-name>contextConfigLocation</param-name>
              <param-value>
                  /WEB-INF/conf-context.xml
                  ...
                  /WEB-INF/siem-context.xml
              </param-value>
      </context-param>
      

      to:

      <context-param>
              <param-name>contextConfigLocation</param-name>
              <param-value>
                  /WEB-INF/conf-context.xml
                  ...
                  /WEB-INF/siem-context.xml
                  classpath:org/codehaus/xfire/spring/xfire.xml
              </param-value>
      </context-param>
      
    2. Uncomment the servlet definition as follows:

      Change:

      <!--
          <servlet>
              <servlet-name>ws</servlet-name>
                              <servlet-class>org.springframework.web.servlet.DispatcherServlet
              </servlet-class>
          </servlet>
      -->
      

      to:

                        <servlet>
              <servlet-name>ws</servlet-name>
                                              <servlet-class>org.springframework.web.servlet.DispatcherServlet
                      </servlet-class>
          </servlet>
      
    3. Uncomment the servlet mapping as follows:

      Change:

      <!--
          <servlet-mapping>
              <servlet-name>ws</servlet-name>
              <url-pattern>/ws/*</url-pattern>
          </servlet-mapping>
      -->
      

      to:

      <servlet-mapping>
              <servlet-name>ws</servlet-name>
              <url-pattern>/ws/*</url-pattern>
      </servlet-mapping>
      
  4. Save the web.xml file and restart the application server to register your changes.

1.2 To Disable Web Services

If Web Services are enabled and you want to disable them, follow these steps.

  1. In a text editor, open the web.xml file located in the RBACX_Home/WEB-INF folder.

  2. Search for the string WEB SERVICES.

    There are three occurrences and in the following steps you must comment out two of them.

  3. Comment out the servlet definition as follows:

    Change:

        <servlet>
            <servlet-name>ws</servlet-name>
                    <servlet-class>org.springframework.web.servlet.DispatcherServlet
            </servlet-class>
        </servlet>
    

    to:

    <!--    
        <servlet>
            <servlet-name>ws</servlet-name>
                    <servlet-class>org.springframework.web.servlet.DispatcherServlet
            </servlet-class>
        </servlet>
    -->
    
  4. Comment out the servlet mapping as follows:

    Change:

    <servlet-mapping>
            <servlet-name>ws</servlet-name>
            <url-pattern>/ws/*</url-pattern>
    </servlet-mapping>
    

    to:

    <!--    
    <servlet-mapping>
            <servlet-name>ws</servlet-name>
            <url-pattern>/ws/*</url-pattern>
    </servlet-mapping>
    -->
    
  5. Restart the application server to register your changes.