Re: [Dev] Error in API does not got to default fault sequence in ESB 5.0.0

2017-01-31 Thread Niranjan Karunanandham
Hi all,

I have create a public JIRA [1] to track this.

[1] - https://wso2.org/jira/browse/DEVTOOLESB-774

Regards,
Nira

On Wed, Feb 1, 2017 at 6:30 AM, Niranjan Karunanandham 
wrote:

> Hi Viraj,
>
>
> On Tue, Jan 31, 2017 at 10:33 PM, Viraj Rajaguru  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 (**). 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
>
>


-- 


*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


Re: [Dev] Error in API does not got to default fault sequence in ESB 5.0.0

2017-01-31 Thread Niranjan Karunanandham
Hi Viraj,


On Tue, Jan 31, 2017 at 10:33 PM, Viraj Rajaguru  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  > wrote:
>
>> Hi ESB Team,
>>
>> In ESB 5.0.0 Dev Studio, when an API is created, an empty fault sequence
>> is added (**). 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


Re: [Dev] Error in API does not got to default fault sequence in ESB 5.0.0

2017-01-31 Thread Viraj Rajaguru
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.

Thanks,
Viraj.

On Tue, Jan 31, 2017 at 1:57 PM, Niranjan Karunanandham 
wrote:

> Hi ESB Team,
>
> In ESB 5.0.0 Dev Studio, when an API is created, an empty fault sequence
> is added (**). 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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Error in API does not got to default fault sequence in ESB 5.0.0

2017-01-31 Thread Niranjan Karunanandham
Hi ESB Team,

In ESB 5.0.0 Dev Studio, when an API is created, an empty fault sequence is
added (**). 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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev