To configure the SOA Agent JAX-WS HTTP Handler to be invoked for all JAX-WS HTTP web services, add the SOA agent JAX-WS Handler class (com.ca.soa.agent.jaxwsplugin.JaxWsHandler) to the standard JAX-WS endpoint configuration file, standard-jaxws-endpoint-config.xml.
The default location of the standard-jaxws-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-WS Handler to the standard JAX-WS endpoint configuration file
<javaee:handler>
<javaee:handler-name>
JBoss JAX-WS PEP Interceptor
</javaee:handler-name>
<javaee:handler-class>
com.ca.soa.agent.jaxwsplugin.JaxWsHandler
</javaee:handler-class>
</javaee:handler>
The JBoss SOA Agent JAX-WS Handler will be invoked for all JAX-WS web services.
Example standard-jaxws-endpoint-config.xml file
<jaxws-config xmlns="urn:jboss:jaxws-config:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:javaee="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="urn:jboss:jaxws-config:2.0 schema/jaxws-config_2_0.xsd">
<endpoint-config>
<config-name>Standard Endpoint</config-name>
<pre-handler-chains>
<javaee:handler-chain>
<javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
<javaee:handler>
<javaee:handler-name>
JBoss JAX-WS PEP Interceptor
</javaee:handler-name>
<javaee:handler-class>
com.ca.soa.agent.jaxwsplugin.JaxWsHandler
</javaee:handler-class>
</javaee:handler>
<javaee:handler>
<javaee:handler-name>Recording Handler</javaee:handler-name>
<javaee:handler-class>
org.jboss.wsf.framework.invocation.RecordingServerHandler
</javaee:handler-class>
</javaee:handler>
</javaee:handler-chain>
</pre-handler-chains>
</endpoint-config>
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |