Jim Ma created JBWS-4176:
----------------------------
Summary: Support configure property reference
Key: JBWS-4176
URL:
https://issues.jboss.org/browse/JBWS-4176
Project: JBoss Web Services
Issue Type: Bug
Components: jbossws-cxf
Affects Versions: jbossws-cxf-5.3.0.Final
Reporter: Jim Ma
Assignee: Jim Ma
Fix For: jbossws-cxf-5.3.1.Final
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:
{code:java}
<?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>
{code}
We have user requested this for a long time :
https://developer.jboss.org/thread/276599
--
This message was sent by Atlassian Jira
(v7.12.1#712002)