isHTTPError {SSOAP} | R Documentation |
This examines the HTTP header information
(computed via the curlPerform
call that
implements the HTTP communication with the SOAP server)
and determines if there was an error
reported from the server.
isHTTPError(response)
response |
the header information computed by collecting the
header lines from the SOAP server's HTTP response.
This is currently done via the call to
curlPerform in the
.SOAP function.
|
This just looks at the status
entry and compares it to
the value 200.
The curlPerform
is capable
of performing redirections, etc. to handle
manageable errors. See the options for that function.
A logical value indicating whether
there was an error (TRUE
) or not (FALSE
).
Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://www.w3.org/TR/SOAP/ http://www.omegahat.org/SSOAP, http://www.omegahat.org/bugs.