4 messages in org.apache.ws.synapse-userRe: Generate SOAP Faults from Class M...
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:Re: Generate SOAP Faults from Class Mediator possible?Actions...
From:Asankha C. Perera (asan@wso2.com)
Date:Sep 19, 2007 9:14:56 pm
List:org.apache.ws.synapse-user

Hi John

I decided to throw a SynapseException directly in the custom mediator class and it works just right for me. I get a properly formatted SOAP Fault.

Cool.. but I think it would be better for the class (and the new POJO command) mediator to catch any exception from a custom class invocation and then convert this into a Synapse exception so that the scenario is handled better automatically. It'll be great if you can raise this JIRA as the user who came across this issue and we will gladly fix it for the 1.1 release

asankha