Displaying 1 result from an estimated 1 matches for "chemspider_sectoken".
2012 Mar 07
2
SSOAP and Chemspider: Security token?
...e from SSOAP there is a sample which uses a token function. Interestingly, it checks if(!is.character(token)) first (and proceeds if the token is NOT character.) I can't test that function since I have no idea how to get the token into "non-character" form :)
My code:
library(SSOAP)
chemspider_sectoken <- "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
# (token was here)
cs <- processWSDL("http://www.chemspider.com/Search.asmx?WSDL")
# intf <- genSOAPClientInterface(,cs)
# (this fails, see below. The Mass Spec API is correctly parsed. Therefore by hand:)
csidlist <- .SOAP(...