| Code | Description |
| SOAP_OK | No error |
| SOAP_CLI_FAULT* | The service returned a client fault (SOAP 1.2 Sender fault) |
| SOAP_SVR_FAULT* | The service returned a server fault (SOAP 1.2 Receiver fault) |
| SOAP_TAG_MISMATCH | An XML element didn't correspond to anything expected |
| SOAP_TYPE | An XML Schema type mismatch |
| SOAP_SYNTAX_ERROR | An XML syntax error occurred on the input |
| SOAP_NO_TAG | Begin of an element expected, but not found |
| SOAP_IOB | Array index out of bounds |
| SOAP_MUSTUNDERSTAND* | An element needs to be ignored that need to be understood |
| SOAP_NAMESPACE | Namespace name mismatch (validation error) |
| SOAP_FATAL_ERROR | Internal error |
| SOAP_USER_ERROR | User error (reserved for soap.user usage |
| SOAP_FAULT | An exception raised by the service |
| SOAP_NO_METHOD | The dispatcher did not find a matching operation for a request |
| SOAP_NO_DATA | No data in HTTP message |
| SOAP_GET_METHOD | HTTP GET operation not handled, see Section 19.10 |
| SOAP_EOM | Out of memory |
| SOAP_MOE | Memory overflow/corruption error (DEBUG mode) |
| SOAP_NULL | An element was null, while it is not supposed to be null |
| SOAP_DUPLICATE_ID | Element's ID duplicated (multi-ref encoding) |
| SOAP_MISSING_ID | Element ID missing for an href/ref (multi-ref encoding) |
| SOAP_HREF | Reference to object is incompatible with the object refered to |
| SOAP_UTF_ERROR | An UTF-encoded message decoding error occured |
| SOAP_UDP_ERROR | Message too large to store in UDP packet |
| SOAP_TCP_ERROR | A connection error occured |
| SOAP_HTTP_ERROR | An HTTP error occured |
| SOAP_NTLM_ERROR | An NTLM authentication handshake error occured |
| SOAP_SSL_ERROR | An SSL error occured |
| SOAP_ZLIB_ERROR | A Zlib error occured |
| SOAP_PLUGIN_ERROR | Failed to register plugin |
| SOAP_MIME_ERROR | MIME parsing error |
| SOAP_MIME_HREF | MIME attachment has no href from SOAP body error |
| SOAP_MIME_END | End of MIME attachments protocol error |
| SOAP_DIME_ERROR | DIME formatting error or DIME size exceeds SOAP_MAXDIMESIZE |
| SOAP_DIME_END | End of DIME attachments protocol error |
| SOAP_DIME_HREF | DIME attachment has no href from SOAP body |
| (and no DIME callbacks were defined to save the attachment) | |
| SOAP_DIME_MISMATCH | DIME version/transmission error |
| SOAP_VERSIONMISMATCH* | SOAP version mismatch or no SOAP message |
| SOAP_DATAENCODINGUNKNOWN | SOAP 1.2 DataEncodingUnknown fault |
| SOAP_REQUIRED | Attributed required validation error |
| SOAP_PROHIBITED | Attributed prohibited validation error |
| SOAP_OCCURS | Element minOccurs/maxOccurs validation error |
| SOAP_LENGTH | Element length validation error |
| SOAP_FD_EXCEEDED | Too many open sockets |
| (for non-win32 systems not supporting poll()) | |
| SOAP_EOF | Unexpected end of file, no input, or timeout receiving data |
| SOAP_ERR | Error (for internal use) |
The HTTP 1.1 error codes are:
|
本文深入探讨了SOAP错误代码与HTTP状态码的区别、含义及应用场景,帮助开发者更好地理解并解决网络通信中遇到的问题。
1542

被折叠的 条评论
为什么被折叠?



