cancel
Showing results for 
Search instead for 
Did you mean: 

Fault Message

Former Member
0 Kudos

Does any one has real life implementation as how to use faultMessage to populate custom error messages. If any one has any documents and/or code snippet to populate the same would be appreciated.

Anika

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member91687
Active Contributor
0 Kudos

Hi Anika,

Fault messages are generally used in synchronous interfaces. An exception class is created for a fault message type when you generate a proxy, this class is used to handle application errors at runtime.

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/dd/b7623c6369f454e10000000a114084/content.htm"><b>Fault Message Type</b></a>

Check Stefan's example which uses fault message types:

http://de.geocities.com/stefan_grube/JavaProxyExample.zip

Cheers,

Chandra

former_member206604
Active Contributor
0 Kudos

Hi,

Check these links

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

http://help.sap.com/saphelp_nw04/helpdata/en/dd/b7623c6369f454e10000000a114084/content.htm

Thanks,

Prakash