Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-4176

Support configure property reference

XMLWordPrintable

      There is cxf.features and cxf.interceptor property in jboss-webservice.xml and jaxws-endoint-config.xml can be resolved and construct new instance to set these properties to bus and endpoint.

      It should allow others property which requires an object value like org.apache.cxf.logging.FaultListener to resolve reference:

      <?xml version="1.1" encoding="UTF-8"?>
      <webservices
        xmlns="http://www.jboss.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        version="1.2"
        xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee">
      
        <property>
          <name>cxf.interceptors.in</name>
          <value>org.jboss.test.ws.jaxws.cxf.interceptors.BusInterceptor</value>
        </property>
        <property>
          <name>cxf.interceptors.out</name>
          <value>org.jboss.test.ws.jaxws.cxf.interceptors.BusCounterInterceptor</value>
        </property>
        <property>
          <name>org.apache.cxf.logging.FaultListener</name>
          <value>##faultListner</value>
        </property>
        <property>
          <name>##faultListner</name>
          <value>org.jboss.test.ws.jaxws.cxf.interceptors.JBossWSFaultListener</value>
        </property>
      </webservices>
      

      We have user requested this for a long time : https://developer.jboss.org/thread/276599

            rhn-engineering-ema Jim Ma
            rhn-engineering-ema Jim Ma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: