Page tree
Skip to end of metadata
Go to start of metadata

Fault Element structure

Sub ElementDescription
<faultcode>A code for identifying the fault
<faultstring>A human readable explanation of the fault
<faultactor>Information about who caused the fault to happen

Holds application specific error information related to the Body element. 
MailUpService returns a MailUpFaultDetail object, which is composed of ErrorCode and ErrorDesc fields


VersionMismatchFound an invalid namespace for the SOAP Envelope element
MustUnderstandAn immediate child element of the Header element, with the mustUnderstand attribute set to "1", was not understood
ClientThe message was incorrectly formed or contained incorrect information
ServerThere was a problem with the server so the message could not proceed


Here below you can find an example of SOAP Fault for authentication request

<s:Envelope xmlns:s="">
         <faultstring xml:lang="en-US">Login failed</faultstring>
            <MailUpFaultDetail xmlns="http://Mailup.WS.Schema/Fault" xmlns:i="">
               <ErrorDesc>Wrong credentials</ErrorDesc>
  • No labels