Hi Viraj,

On Tue, Jan 31, 2017 at 10:33 PM, Viraj Rajaguru <vi...@wso2.com> wrote:

> Hi Niranjan,
>
> That's how it is being serialised. That is a known thing. But if it's
> causing issues we have to fix that.
>
In general the default fault sequence is called when there is no fault
defined. But now for each API we need to explicitly defined the fault
sequence else if an error occurs it just returns a 202. IMO we need to fix
this. WDYT?


>
> Thanks,
> Viraj.
>
> On Tue, Jan 31, 2017 at 1:57 PM, Niranjan Karunanandham <niran...@wso2.com
> > wrote:
>
>> Hi ESB Team,
>>
>> In ESB 5.0.0 Dev Studio, when an API is created, an empty fault sequence
>> is added (*<faultSequence/>*). Even if I go to the source view and
>> remove this, it gets added when creating the CAR file or when deploying it
>> to ESB from Dev Studio. Because of this, the default fault sequence is not
>> hit when an error occurs. In the ESB server UI, if I go and remove the
>> empty fault sequence from source view for the API then it works as expected.
>>
>> Is this a known issue?
>>
>> Regards,
>> Nira
>>
>> --
>>
>>
>> *Niranjan Karunanandham*
>> Associate Technical Lead - WSO2 Inc.
>> WSO2 Inc.: http://www.wso2.com
>>
>>
>
>
> --
> Viraj Rajaguru
> Associate Technical Lead
> WSO2 Inc. : http://wso2.com
>
> Mobile: +94 77 3683068 <+94%2077%20368%203068>
>
>
>
>
Regards,
Nira

-- 


*Niranjan Karunanandham*
Associate Technical Lead - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to