[jbossws-issues] [JBoss JIRA] Updated: (JBWS-3069) Latest CXF release in AS trunk breaks XTS
Jim Ma (JIRA)
jira-events at lists.jboss.org
Mon Jun 28 04:44:46 EDT 2010
[ https://jira.jboss.org/browse/JBWS-3069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Ma updated JBWS-3069:
-------------------------
Attachment: CheckFaultInterceptor.java
SOAPHandlerInterceptor.java
Source diff (this is from cxf trunk svn diff , the line number might be different from 2.2.9) :
--- cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/CheckFaultInterceptor.java (original)
+++ cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/CheckFaultInterceptor.java Mon Jun 28 06:17:32 2010
@@ -62,7 +62,7 @@ public class CheckFaultInterceptor exten
throw new SoapFault(new Message("XML_STREAM_EXC", LOG), e,
message.getVersion().getSender());
}
- if (message.getVersion().getFault().equals(xmlReader.getName())) {
+ if (isRequestor(message) && message.getVersion().getFault().equals(xmlReader.getName())) {
Endpoint ep = message.getExchange().get(Endpoint.class);
message.getInterceptorChain().abort();
if (ep.getInFaultObserver() != null) {
Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/soap/SOAPHandlerInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/soap/SOAPHandlerInterceptor.java?rev=958470&r1=958469&r2=958470&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/soap/SOAPHandlerInterceptor.java (original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/soap/SOAPHandlerInterceptor.java Mon Jun 28 06:17:32 2010
@@ -277,7 +277,7 @@ public class SOAPHandlerInterceptor exte
}
}
}
- if (msg.getSOAPPart().getEnvelope().getBody() != null
+ if (isRequestor(message) && msg.getSOAPPart().getEnvelope().getBody() != null
&& msg.getSOAPPart().getEnvelope().getBody().hasFault()) {
return null;
}
> Latest CXF release in AS trunk breaks XTS
> -----------------------------------------
>
> Key: JBWS-3069
> URL: https://jira.jboss.org/browse/JBWS-3069
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-3.3.1
> Reporter: Andrew Dinn
> Assignee: Jim Ma
> Priority: Blocker
> Attachments: CheckFaultInterceptor.java, cxf-rt-bindings-soap-patched.jar, cxf-rt-frontend-jaxws-patched.jar, SOAPHandlerInterceptor.java
>
>
> CXF JaxWS will no longer deliver asynchronous faults. The ability to do this is required by the XTS specification. See the forum thread for details.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list