spring-projects / spring-integration

Spring Integration provides an extension of the Spring programming model to support the well-known Enterprise Integration Patterns (EIP)
http://projects.spring.io/spring-integration/
Apache License 2.0
1.55k stars 1.11k forks source link

MessageHandlingException does not propagate Spring WS custom Soap fault errors [INT-993] #5000

Closed spring-operator closed 14 years ago

spring-operator commented 14 years ago

Vigil Bose opened INT-993 and commented

When we use Spring Integration MarshallingWebServiceInboundGateway as the Webservices inbound endpoint gateway, the custom soap fault errors are not propagated to the client properly. Whereas if we use simple gateway interface, the soap fault errors are propagated to the client. However, the ideal choice is to use SI MarshallingWebServiceInboundGateway as the inbound endpint gateway which is cleaner and allows us to have less classes to maintain.

The issue is discussed in detail in the forum http://forum.springsource.org/showthread.php?t=84323.


Affects: 1.0.3

Reference URL: http://forum.springsource.org/showthread.php?t=84323

1 votes, 2 watchers

spring-operator commented 14 years ago

Mark Fisher commented

Modified both marshalling and "simple" Web Service inbound gateways to unwrap the cause Exceptions from any Spring Integration MessagingException.

Please test the trunk build with your code if at all possible to verify that your Soap Fault is being returned as expected now.

Thanks, Mark

spring-operator commented 14 years ago

Vigil Bose commented

Mark - I will try it on Monday and revert back.

spring-operator commented 14 years ago

Mark Fisher commented

Vigil, Feel free to try 1.0.4.RELEASE now that it's available (no need to use the trunk build).

spring-operator commented 14 years ago

Vigil Bose commented

Thanks so much Mark for fixing this issue. It now works perfectly fine as desired. I tried it with 1.0.4 release as you suggested.