4 messages in org.apache.ws.synapse-userGenerate SOAP Faults from Class Media...
FromSent OnAttachments
J BouckSep 19, 2007 1:27 pm 
Paul FremantleSep 19, 2007 3:45 pm 
J BouckSep 19, 2007 5:28 pm 
Asankha C. PereraSep 19, 2007 9:14 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Generate SOAP Faults from Class Mediator possible?Actions...
From:J Bouck (bouc@gmail.com)
Date:Sep 19, 2007 1:27:43 pm
List:org.apache.ws.synapse-user

In synapse 1.0, I am using a custom class mediator in the inSequence of a proxy service. How do I generate a SOAP fault from the custom class mediator? Returning false in the class mediator doesn't seem to do trigger the faultSequence for the proxy service. Throwing exceptions in the class mediator doesn't seem to trigger the faultSequence either. I can get the proxy service fault Sequence to run only if the in Sequence "send" fails, never with the custom class mediator that precedes the "send". I have looked at sample 510 that describes what the synapse.xmlneeds to look like for custom class mediators, but I can't get that example to generate a SOAP Fault either. Do I need to write directly to the Synapse MessageContext in the mediator? ~john