[jboss-user] [Beginners Corner] - How to add init param of handler

warmpoty do-not-reply at jboss.com
Mon Jun 4 23:44:22 EDT 2007


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 at 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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051158#4051158

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051158



More information about the jboss-user mailing list