Author: richard.opalka(a)jboss.com
Date: 2008-03-15 13:38:05 -0400 (Sat, 15 Mar 2008)
New Revision: 5984
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/core/server/ServiceEndpointInvoker.java
stack/native/trunk/src/main/java/org/jboss/ws/core/soap/SOAPMessageDispatcher.java
Log:
[JBWS-2002] folled back fixes for [JBWS-2010] and [JBWS-1994] - these fixes were not TCK5
compliant and broke the jaxws TCK 5 suite
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/core/server/ServiceEndpointInvoker.java
===================================================================
---
stack/native/trunk/src/main/java/org/jboss/ws/core/server/ServiceEndpointInvoker.java 2008-03-15
03:42:44 UTC (rev 5983)
+++
stack/native/trunk/src/main/java/org/jboss/ws/core/server/ServiceEndpointInvoker.java 2008-03-15
17:38:05 UTC (rev 5984)
@@ -223,7 +223,7 @@
}
catch (InvocationTargetException th)
{
- //Unwrap the throwable raised by the service endpoint implementation
+ // Unwrap the throwable raised by the service endpoint implementation
Throwable targetEx = th.getTargetException();
throw (targetEx instanceof Exception ? (Exception)targetEx : new
UndeclaredThrowableException(targetEx));
}
@@ -269,7 +269,7 @@
faultType[0] = null;
}
}
- catch (Exception ex)
+ catch (RuntimeException ex)
{
// Reverse the message direction
processPivotInternal(msgContext, direction);
@@ -277,8 +277,7 @@
try
{
CommonBinding binding = bindingProvider.getCommonBinding();
- MessageAbstraction exMessage = binding.bindFaultMessage(ex);
- msgContext.setMessageAbstraction(exMessage);
+ binding.bindFaultMessage(ex);
// call the fault handler chain
boolean handlersPass = true;
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/core/soap/SOAPMessageDispatcher.java
===================================================================
---
stack/native/trunk/src/main/java/org/jboss/ws/core/soap/SOAPMessageDispatcher.java 2008-03-15
03:42:44 UTC (rev 5983)
+++
stack/native/trunk/src/main/java/org/jboss/ws/core/soap/SOAPMessageDispatcher.java 2008-03-15
17:38:05 UTC (rev 5984)
@@ -93,7 +93,7 @@
if (childNode instanceof SOAPBodyElement)
{
soapBodyElement = (SOAPBodyElement)childNode;
- soapBodyElement.getValue(); //force transition to DOM-Valid model
+ //soapBodyElement.getValue(); //force transition to DOM-Valid model
}
}