1 Reply Latest reply on Jun 13, 2007 12:57 AM by ae zz

    How to add init param of handler

    ae zz Newbie

      I use the way to add handler in a Endpoint configuration templates,a configuration basically includes a list of JAXRPC handlers that are registered with a webservice endpoint upon deployment. (which is mentioned in http://labs.jboss.com/jbossws/user-guide/en/html/endpoints.html)

      But I fail to find a way add a init parameter of handler in this Endpoint configuration templates,I also failed to find the XSD file that declared in the templates,the XSD file name is http://www.jboss.com/xml/jbossws-config_1_0.xsd.

      I don't know if it is available to add init param in Endpoint configuration templates.

      the whole file content is :

      <?xml version="1.0" encoding="UTF-8"?>

      <!-- $Id: standard-jbossws-endpoint-config.xml 283 2006-05-05 23:08:11Z jason.greene@jboss.com $ -->

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

      <endpoint-config>
      <config-name>Standard Endpoint</config-name>
      <pre-handler-chain>
      <handler-chain-name>PreHandlerChain</handler-chain-name>

      <j2ee:handler-name>ConfigAutoGeneratorHandler</j2ee:handler-name>
      <j2ee:handler-class>com.ibm.management.soa.agent.generic.ConfigAutoGeneratorHandler</j2ee:handler-class>



      <j2ee:handler-name>KD4Handler</j2ee:handler-name>
      <j2ee:handler-class>com.ibm.management.soa.agent.generic.GenericServerHandler</j2ee:handler-class>
      <init-param>
      <param-name>servername</param-name>
      <param-value>jbossServerInTemplate</param-value>
      </init-param>


      </pre-handler-chain>
      </endpoint-config>

      <endpoint-config>
      <config-name>Standard Secure Endpoint</config-name>
      <pre-handler-chain>
      <handler-chain-name>PreHandlerChain</handler-chain-name>

      <j2ee:handler-name>WSSecurityHandlerInbound</j2ee:handler-name>
      <j2ee:handler-class>org.jboss.ws.wsse.WSSecurityHandlerInbound</j2ee:handler-class>


      <j2ee:handler-name>ConfigAutoGeneratorHandler</j2ee:handler-name>
      <j2ee:handler-class>com.ibm.management.soa.agent.generic.ConfigAutoGeneratorHandler</j2ee:handler-class>



      <j2ee:handler-name>KD4Handler</j2ee:handler-name>
      <j2ee:handler-class>com.ibm.management.soa.agent.generic.GenericServerHandler</j2ee:handler-class>
      <init-param>
      <param-name>servername</param-name>
      <param-value>jbossServerInTemplate</param-value>
      </init-param>

      </pre-handler-chain>
      </endpoint-config>

      </jbossws-config>

      So please help , Thanks a lot