RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ERemotableException.FaultCode Property

Indicates where the fault was encountered.

Pascal
property FaultCode: InvString;
C++
__property InvString FaultCode;

FaultCode is one of the following strings:

Value 
Meaning 
Server  
The Web Service application raised the exception before it was able to begin processing the content of the SOAP request packet. For example, if the server can't process a request because it is out of memory, it specifies a FaultCode of 'Server'.  
Client  
The Web Service application raised the exception because of an error in the SOAP request packet that the client provided. For example, if the SOAP request packet specified a nonexistent method or invalid parameter, the server specifies a FaultCode of 'Client'.  
VersionMismatch  
The Web Service application is a different version than the one that the SOAP request packet specifies.  
MustUnderstand  
The Web Service application did not understand one of the SOAP headers in the request packet and the request packet set its MustUnderstand header to indicate that the server must handle all of its SOAP headers.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!