Parse the returned XML in the SOAP Response Body.

parse_soap_response(httr_response, resp_element, as_df)

Arguments

httr_response

an httr response from a POST to the API

resp_element

character; the name of the response body element

as_df

logical; indicating whether the results should be a list or data.frame

Value

a list or data.frame

Note

This function is meant to be used internally. Only use when debugging.