FaultCodeS property: SOAPDoc class
Description
Use the FaultCodeS property to return the fault code if the SOAP message has one. Not every message has a fault code. It is returned only when the SOAP method has had an error in processing and the SOAP method supports fault codes. This property returns a string.
This property is read-only.
Example
Local SOAPDoc &MyDoc;
Local string &Fault;
&MyDoc = CreateSOAPDoc();
&MyDoc.AddFault("400", "Server Error");
&Fault = &MyDoc.FaultCodeS;