Dear Duncan, thanks for the quick answer. However, I already sorted one error out - turned out that I was just stupid: The security token worked fine once I filled all the additional "required information" on the ChemSpider profile (which means the token showing up on your profile is non-functional as long as that information isn't complete - ChemSpider doesn't tell you that, or force you to fill in the information, however.)
Best, -Michael Message: 114 Date: Wed, 07 Mar 2012 16:57:21 -0800 From: Duncan Temple Lang <dun...@wald.ucdavis.edu> To: r-help@r-project.org Subject: Re: [R] SSOAP and Chemspider: Security token? Message-ID: <4f5803f1.2080...@wald.ucdavis.edu> Content-Type: text/plain; charset=ISO-8859-1 Hi Michael Thanks for the report and digging into the actual XML documents that are sent. It turns out that if I remove the redundant namespace definitions and just use a single one on the <SimpleSearch> node, all is apparently fine. I've put a pre-release version of the SSOAP package that does at http://www.omegahat.org/Prerelease/SSOAP_0.9-1.tar.gz You can try that. I'll release this version when I also fix the issue with XMLSchema that causes the error in genSOAPClientInterface() BTW, the if(!is.character(token)) in the example in chemSpider.R is an error - a mixture of !is.null() and then checking only if it is a character. Best, Duncan ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.