Use web service in R

Here's the script:

I have JBoss serving a web service with JBossWS providing me wsdl. I have connected and used it with both .NET and Java so far (and it was pretty easy as soon as I figured it out). Now I'm trying to do the same with R.

Is there anything that is considered β€œright” for this? I am not so familiar with R, and my searches are not very many, so I decided that I would ask, and maybe fix the head and the wall a bit.

+6
r webservice-client
source share
2 answers

I was fortunate enough to use rJava to recreate in R what works in Java. I use this method to connect to the Amazon AWS Java SDK for their API with R. This allows me, for example, to transfer files to / from S3 from R without having to recreate the entire connection / handshake / boogieWoogie from R.

If you want to go a cleaner R, I think you'll have to use some combination of RCurl and an XML package to capture and parse wsdl.

+5
source share

There are several ways:

  • You can keep your Java approach and use the rJava package around it

  • You can use RCurl , which is used to power several higher-level packages (for example, to access the Google APIs) / p>

  • I believe the older SSOAP package is on Omegahat , which may also help.

+3
source share

All Articles