rdfp (version 0.1.4)

form_request_body: Format SOAP Request Body

Description

Receive data for a service and build the Body of text to include in a SOAP request.

Usage

form_request_body(service, root_name, data = NULL)

Arguments

service

a character string matching one of the API services

root_name

a character string to be put in the topmost level of the created XML hierarchy

data

a list or data.frame to create XML in the request

Value

a character string of XML with service name as an attribute