R: Determines if an error occurred in an HTTP communication

isHTTPError {SSOAP} | R Documentation

## Determines if an error occurred in an HTTP communication

### 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

    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`

[Package SSOAP version 0.91-0 Index]