cancel
Showing results for 
Search instead for 
Did you mean: 

Fault msg? where it is used?

Former Member
0 Kudos

What is Fault msg? where it is used?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Aravind,

Fault message are the message type thats get created by default when u create a namespace in ur SWCV.

Fault messages are used to propogate / send back the error maessage to the calling application. This is used when there is a failue and the sending system needs to know what the error was. This is more of catching Application Errors.

Also please go through the link below to get the details for fault messages...

http://help.sap.com/saphelp_nw04/helpdata/en/5d/a45c3cff8ca92be10000000a114084/content.htm

fault message is a message that describes an application-specific error situation

we have standardised fault message in XI.

Fault message types are designed for application-specific errors that occur on the inbound side and that are reported back to the sender or persisted in monitoring.

In the synchronous case, when an application-specific error occurs on the inbound side, instead of sending a response message back to the sender, the application can send a fault message to handle the error.

The fault message of the application for an asynchronous ABAP server proxy is persisted for monitoring. In the case asynchronous of Java server proxies, the fault message is part of a negative application acknowledgement

Application-specific means that the application on the inbound side triggers the error itself because, for example, the request message did not contain sufficient information

See the below links

http://help.sap.com/saphelp_nw2004s/helpdata/en/5d/a45c3cff8ca92be10000000a114084/content.htm

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ee5bc490-0201-0010-e9b5-a258cf08...

/people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client

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

You can use Fault messages when you want to handle errors at the Inbound side ie at the destination side.

check this nice blog also

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

Fault Messages

http://help.sap.com/saphelp_nw04/helpdata/en/5d/a45c3cff8ca92be10000000a114084/frameset.htm

Usage of Fault Messages in Synchronous interfaces

/people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client

usage of fault messages in asynchronous interfaces

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

Fault message implementation.

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

regards

biplab

Answers (4)

Answers (4)

Former Member
0 Kudos

hi...

Fault messages are used to propagate the error msg to the calling application, this is used when there is failure on the sender system needs to know where the error was occured...

regards,

Pasi..

Former Member
0 Kudos

Fault message is used in synchronous scenarios, to raise exceptions in synchronous scenarios

santhosh_kumarv
Active Contributor
0 Kudos

Fault messages are provided in WSDL for handling application errors. The proxy generation functions use these to generate the exception classes (prefix CX_).

<a href="/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1 Message Types - A Demo (Part 1)</a>by Shabarish Vijayakumar

Regards

Santhosh

<a href=" to set the thread to solved when you have received a solution</a>

Former Member
0 Kudos

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

arunneerolil
Contributor
0 Kudos

hi

refer this also

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

rgds

Chemmanz