Previous Topic: Configure SOA Agent Security Interceptor Protection for JAX-RPC Web Services Over JMS Transport (JBoss 4.x)

Next Topic: Configure the SOA Agent JAX-RPC JMS Handler for a Single JAX-RPC JMS Web Service

Configure the SOA Agent JAX-RPC JMS Handler for all JMS JAX-RPC Web Services

To configure the SOA Agent JAX-RPC JMS Handler to be invoked for all JAX-RPC JMS web services, add the SOA agent JAX-RPC JMS Handler class (com.ca.soa.agent.appserver.jaxrpc.jms.XMLAgentJMSJaxrpcHandler) to the standard JAX-RPC endpoint configuration file, standard-jaxrpc-endpoint-config.xml.

The default location of the standard-jaxrpc-endpoint-config.xml file is located in one of the following locations, depending on your version of JBoss:

instance_type

Specifies the JBoss Application Server instance type (one of default, minimal, production, standard, or web).

To add the SOA Agent JAX-RPC JMS Handler to the standard JAX-RPC endpoint configuration file

  1. Navigate to the location of the standard-jaxrpc-endpoint-config.xml file for your JBoss version and instance type.
  2. Open the standard-jaxrpc-endpoint-config.xml file in a text editor.
  3. Add the following javaee:handler element to the "Standard Endpoint" endpoint-config element.
    <handler>
      <j2ee:handler-name>SM XMLAgent JMS Jaxrpc Handler</j2ee:handler-name>
      <j2ee:handler-class>
        com.ca.soa.agent.appserver.jaxrpc.jms.XMLAgentJMSJaxrpcHandler
      </j2ee:handler-class>
    </handler>
    
  4. Save the file and exit the text editor.

The JBoss SOA Agent JMS Handler will be invoked for all JMS web services.

Example standard-jaxrpc-endpoint-config.xml file

<jaxrpc-config xmlns="urn:jboss:jaxrpc-config:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
xsi:schemaLocation="urn:jboss:jaxrpc-config:2.0 jaxrpc-config_2_0.xsd">

<endpoint-config>
  <config-name>Standard Endpoint</config-name>
    <pre-handler-chain>
      <handler-chain-name>SM XMLAgentJaxrpc Handlers</handler-chain-name>
      <handler>
        <j2ee:handler-name>SM XMLAgent JMS Jaxrpc Handler</j2ee:handler-name>
        <j2ee:handler-class>
          com.ca.soa.agent.appserver.jaxrpc.jms.XMLAgentJMSJaxrpcHandler
        </j2ee:handler-class>
      </handler>
    </pre-handler-chain>
  </endpoint-config>

</jaxrpc-config>