[
https://issues.jboss.org/browse/JBWS-4059?page=com.atlassian.jira.plugin....
]
Jim Ma commented on JBWS-4059:
------------------------------
Thanks for the patch. I created JBWS-4176 and after this is resolved , it allow to
configure FaultListener through a jboss-webservice.xml .
<?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}
Does this work for your case ?
Support CXF FaultListener
-------------------------
Key: JBWS-4059
URL:
https://issues.jboss.org/browse/JBWS-4059
Project: JBoss Web Services
Issue Type: Feature Request
Components: jbossws-cxf
Affects Versions: jbossws-cxf-5.1.3.Final
Reporter: 华绪 吴
Priority: Optional
Attachments: Support_CXF_FaultListener.patch
with this feature, developer can hide runtime exception warn logging and custom the
runtime exception output instead of mapping to a relatively generice soap:fault which was
send to client.
I created a patch for jbossws-cxf-5.1.3.Final.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)