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:
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
<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>
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>
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |