When web service requests fail, the database server generates standard errors that appear in your browser. These errors are assigned numbers consistent with the protocol standards.
If the service is a SOAP service, faults are returned to the client as SOAP faults as defined in the SOAP version 1.1 standard:
404 Not Found, and the detail element contains the numeric HTTP error value.
If the client cannot be identified as a SOAP client, then the appropriate HTTP error is returned in a generated HTML document.
The following are some of the typical errors that you may encounter:
|301||Moved permanently||Server||The requested page has been permanently moved. The server automatically redirects the request to the new location.|
|304||Not Modified||Server||The server has decided, based on information in the request, that the requested data has not been modified since the last request and so it does not need to be sent again.|
|307||Temporary Redirect||Server||The requested page has been moved, but this change may not be permanent. The server automatically redirects the request to the new location.|
The HTTP request is incomplete or malformed.
Authorization is required to use the service, but a valid user name and password were not supplied.
You do not have permission to access the database.
The named database is not running on the server, or the named web service does not exist.
The maximum connection idle time was exceeded while receiving the request.
|411||HTTP Length Required||Client.LengthRequired||The server requires that the client include a Content-Length specification in the request. This typically occurs when uploading data to the server.|
|413||Entity Too Large||Server||
The request exceeds the maximum permitted size.
|414||URI Too Large||Server||
The length of the URI exceeds the maximum allowed length.
|500||Internal Server Error||Server||
An internal error occurred. The request could not be processed.
The HTTP request method is not GET, HEAD, or POST.
|502||Bad Gateway||Server||The document requested resides on a third-party server and the server received an error from the third-party server.|
The number of connections exceeds the allowed maximum.
|Send feedback about this page via email or DocCommentXchange||Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0|