In this article, we will understand how to raise exceptions from a Web service by using the Soap Exception object that provides an industry-standard way of representing a SOAP Fault.
You can use properties to navigate around an XML document. After you get a node, you get the value of attributes or child nodes.
But before you use any of them, let’s quickly review a few terms. Each node has as single parent node directly above it.
Because Web services provide a platform-independent of way of leveraging a specific functionality, the exceptions that occur in the Web Services must also be communicated in a platform-independent manner.
To accomplish this, you need to make sure that the exceptions raised from the Web services are compliant with the SOAP specification.
Clients access these services through a programmable interface.