Re: [Rd] How to create Web service in R?

From: Duncan Temple Lang <duncan_at_wald.ucdavis.edu>
Date: Sun, 21 Oct 2007 09:41:43 +1300

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rohan7 wrote:
> Hello all,
>
> Is it possible to create web service in R?
> Any links or book i can refer!
>
> My second question is i'm trying to call a web service using RCurl
> package. The pdf from google doesnt have entire code in it.[ R as web client
> - RCurl package]. It's not written how to send parameter for a function or
> i'm missing something. I want to pass parameter to a function of a
> webservice.

By Web Service do you mean specifically SOAP? There are other Web Services and each one will involve a different way of invoking a Web Service method. However, SOAP is the most common and while RCurl is used to communicate the request and result, there are many more steps in generating the contents of the request. See the SSOAP package from www.omegahat.org for a mechanism for making SOAP requests from R. It even has basic support for reading WSDL files and generating R functions that make the Web Service method "appear" as a local R function.

  D.

>
> Please help me for the same.
>
> Regards,
> Rohan7
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHGmgH9p/Jzwa2QP4RAn/VAJ4+dn3y8JRlW4o+iAa6IhYHdLT44QCfbREl Ysn8Z5zgWHns89jpaf7uuc8=
=53Ns
-----END PGP SIGNATURE-----



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat 20 Oct 2007 - 20:43:21 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 25 Oct 2007 - 11:37:11 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.