cancel
Showing results for 
Search instead for 
Did you mean: 

Is it mandatory to use a Fault Message Type.

Former Member
0 Kudos

Hi all

I am currently doing a Soap-Proxy synchronous scenario,where by sending an employee id through webservice to SAP ECC ,employee details will be retreived from ECC as a response.

In this scenario, is it necessary to specify the Fault Message Type in the outbound and inbound synchronous Message interfaces and do the corresponding message mapping for Fault message types.

Asvance Thanks,

Ram.

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

no, it is not mandatory to use fault messages.

in case you want to capture an exception or a fault you can use them.

to know more;

Fault messages -

/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1

Handling Web Service SOAP Fault Responses in SAP NetWeaver XI -

/people/jin.shin/blog/2007/05/21/handling-web-service-soap-fault-responses-in-sap-netweaver-xi

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi ram,

It is not at all mendetary to use Fault message in ur case.Usually it depends upon requirement.If client want's to implement ...u have to use.

generally fault messages are used wen u want to catch some exception viz. ECC server is down,Employee ID does not exist.,No record found for the given EmpID etc....ect.......

See these to know more abt fault message type and its implementation........

Fault message implementation.

/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1

How to Guide

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40574601-ec97-2910-3cba-a0fdc10f...

With Integration Scenario

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/52398597-0601-0010-868a-fd95f806...

How to Guide - Using Web Service

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f027dde5-e16e-2910-97a4-f2310464...

Presentation

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9f2ad490-0201-0010-a1bd-81d072f3...

Regards

Biplab

<i>***Reward with points if it helps you!!</i>

Former Member
0 Kudos

To add further using Fault messages u can view the application errors inside SXMB_MONI of ECC system.

No Fault messages are not mandatory

Former Member
0 Kudos

Hi,

Fault message not MADATORY. But preffered if you want to handle application specific errors that occur at inbound side in a synchronous scenario.

<b>Cheers,

*RAJ*</b>