Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Webservice : Severity code

Former Member
0 Likes
635

Hi ,

I have a small doubt in relation to severity code for a webservice .

Severity 1 : success

Severity 2 : Warning.

Severity 3: Error.

The above severity codes explains the respective execution status of a web service.

I have a small doubt , when a particular feature is not supported by a system or not expected to be supported by system , what should be the severity of that service.

For eg : A user tries to create a purchase order or a personnel number in a system which doesnt support those operations .

In such cases what should be the response from the service to the end user . Is it meaningful to throw a warning or Error?

Thanks and Regards,

Balaji.D.N

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
491

Hello,

Generally a warning is displayed just as a precautionary measure, and continuation is allowed, in this case if the end user is not allowed to create a PO for example, then I would think an error would be the better option.

Regards,

Sachin

2 REPLIES 2
Read only

Former Member
0 Likes
492

Hello,

Generally a warning is displayed just as a precautionary measure, and continuation is allowed, in this case if the end user is not allowed to create a PO for example, then I would think an error would be the better option.

Regards,

Sachin

Read only

former_member194669
Active Contributor
0 Likes
491

Usually webservice consist of bapi or RFC . these have return table that comprise these kind of exceptions.

These doesn't show to user. my suggestion will be send error to the user

a®