[R] Pass Array input to web service

Rohan7 rohan7799 at gmail.com
Tue Nov 6 08:24:11 CET 2007


Hello everybody,
   I'm using SSOAP and RCurl to call webservice. I got success in calling
webservice with string as
an input. Now i want to pass array as an input(can be single or
multidimensional). When i do that i get
error.
 unable to find an inherited method for function "toSOAP", for signature
"data.frame", "textConnection", "NULL"

  When i remove argument part then it doesn't give any error.

here is the code

inputarray <- read.table("path/to/file")
Server <- SOAPServer("http://192.168.100.1/abc.php")
result <-  .SOAP(Server, "FunctionName", .soapArgs=list('tempInput' =
inputarray),action="/abc.php")

Any suggestions.:working:

Thanks and regards,
Rohan7


-- 
View this message in context: http://www.nabble.com/Pass-Array-input-to-web-service-tf4756480.html#a13601890
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list