Call SharePoint web services in Ruby

Hello Team,

I am new to to Ruby, but have fare knowledge of SharePoint.
I need to call SharePoint web service using Ruby.

Please help me if you have implemented similar kind of requirement.

Thanks in Advance,
Baba.

On Wed, Nov 21, 2012 at 9:58 PM, Baba G. [email protected]
wrote:

Hello Team,

I am new to to Ruby, but have fare knowledge of SharePoint.
I need to call SharePoint web service using Ruby.

This is an incredibly broad statement.
I’m not sure what version of sharepoint you are trying to interface,
but consider
using their Rest APIs.

From there it is merely a matter of learning how to use Rest under
ruby which is very well documented.

Andrew McElroy

Andrew Mcelroy wrote in post #1085862:

On Wed, Nov 21, 2012 at 9:58 PM, Baba G. [email protected]
wrote:

Hello Team,

I am new to to Ruby, but have fare knowledge of SharePoint.
I need to call SharePoint web service using Ruby.

This is an incredibly broad statement.
I’m not sure what version of sharepoint you are trying to interface,
but consider
using their Rest APIs.

From there it is merely a matter of learning how to use Rest under
ruby which is very well documented.

Andrew McElroy

Hi Andrew,
Many thanks for quick reply.
i am using SharePoint 2010 version,
Can you please post any good document/link with sample code?

I would have a search through the top google hits, and the stackoverflow
answers in particular.

If Sharepoint has a REST API, then using many of the Ruby libraries,
like
RestClient or any of its contemporaries would be the way to go.

If Sharepoint only supports a SOAP interface then it is much trickier.
You
will need to use the Ruby Savon library to communicate with it. IME it
is
the only API mature enough, but the trickiest part will be making sense
of
the SOAP specs. You should find good examples for using these libraries
on
their GitHub pages, and you should also consider looking through the
Ruby
Toolbox website for other REST libraries or even a dedicated Sharepoint
client.