I think the best solution is simply to extend the meaning of the <detail> configuration element so that it can contain any XML content.
Andreas On Mon, May 25, 2009 at 07:56, Supun Kamburugamuva <[email protected]> wrote: > There are many ways of specifying details in the fault mediator. At the > moment we specify expresion as an attribute, and detail text as text of the > detail element. If we introduce the capability to include an element, we > have three types of values for detail element. > Expression > Text > Element > > Since expression is specified as an attribute we don't have a problem > recognizing it. > > But both Text and Element will be specified as a child of Detail. We can > distinguise this programmatically. But we have the option of introducing a > method for distinguising text and element syntactically. i.e. introducing an > optional attribute. > > I would like to know what the community prefers. > > Thanks, > Supun.. > > On Sun, May 24, 2009 at 5:32 PM, Supun Kamburugamuva <[email protected]> > wrote: >> >> Yes, I would like to provide a patch and I'm working on it. >> >> Thanks, >> Supun >> >> On Sat, May 23, 2009 at 7:40 AM, Ruwan Linton <[email protected]> >> wrote: >>> >>> Yes this is a short come of the fault mediator, would you like to provide >>> a patch for this? >>> >>> Thanks, >>> Ruwan >>> >>> On Fri, May 22, 2009 at 3:33 PM, Supun Kamburugamuva <[email protected]> >>> wrote: >>>> >>>> Sorry, small correction in the previous mail: I want to specify an >>>> element as the fault detail not a SOAP element. >>>> >>>> Thanks, >>>> Supun.. >>>> >>>> On Fri, May 22, 2009 at 2:31 PM, Supun Kamburugamuva <[email protected]> >>>> wrote: >>>>> >>>>> Hi, >>>>> >>>>> I want to specify a SOAP element as the fault detail using the >>>>> MakeFaultMediator. It seems it is not possible with the current >>>>> implementation. I'm I missing something or is it not possible? >>>>> >>>>> Thnaks >>>>> Supun.. >>>>> >>>>> -- >>>>> Software Engineer, WSO2 Inc >>>>> http://wso2.org >>>>> supunk.blogspot.com >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> Software Engineer, WSO2 Inc >>>> http://wso2.org >>>> supunk.blogspot.com >>>> >>>> >>> >>> >>> >>> -- >>> Ruwan Linton >>> Senior Software Engineer & Product Manager; WSO2 ESB; http://wso2.org/esb >>> WSO2 Inc.; http://wso2.org >>> email: [email protected]; cell: +94 77 341 3097 >>> blog: http://ruwansblog.blogspot.com >> >> >> >> -- >> Software Engineer, WSO2 Inc >> http://wso2.org >> supunk.blogspot.com >> >> > > > > -- > Software Engineer, WSO2 Inc > http://wso2.org > supunk.blogspot.com > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
