isHTTPError: Determines if an error occurred in an HTTP communication

Description Usage Arguments Details Value Author(s) References See Also

Description

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.

Usage

1
isHTTPError(response)

Arguments

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.

Details

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.

Value

A logical value indicating whether there was an error (TRUE) or not (FALSE).

Author(s)

Duncan Temple Lang <duncan@wald.ucdavis.edu>

References

http://www.w3.org/TR/SOAP/ http://www.omegahat.org/SSOAP, http://www.omegahat.org/bugs.

See Also

.SOAP curlPerform


sckott/SSOAP documentation built on Sept. 16, 2020, 5:49 p.m.