Description Usage Arguments Value Author(s) See Also Examples
These functions provide the basic functions for implementing a SOAP request via HTTP GET or POST bindings rather than the regular SOAP Envelope and Body bindings. These are often easier to use manually as they allow the caller to think of the request as a form or simple URL with named parameters.
The functions can be used in generated code derived from processing a WSDL.
1 2 |
.url |
the full URL (as a string) identifying the SOAP method |
... |
a named list of parameters that are passed directly to the HTTP request. |
.params |
this is a list of the parameters. This can be used by a caller who already has the inputs to the SOAP request in a list. |
.convert |
a value that controls how the result is returned.
If this is |
.opts |
a list of named options that are passed to |
.style |
this is the |
Either the text of the SOAP response or an R object converted from the XML content.
Duncan Temple Lang
1 2 3 4 5 6 7 | .SOAPHttpGet("http://www.chemspider.com/MassSpecAPI.asmx/SearchByMass2", mass = 89.0476, range = 0.01)
## Not run:
# need token
.SOAPHttpGet("http://www.chemspider.com/MassSpecAPI.asmx/GetExtendedCompoundInfoArray", CSIDs = c("23500", "23543"), token = token)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.