From: Richard Conroy Date: 2012-11-22T22:32:18+09:00 Subject: Re: Call SharePoint web services in Ruby --f46d042de819e5f7d504cf157e06 Content-Type: text/plain; charset=ISO-8859-1 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. On Thu, Nov 22, 2012 at 12:06 PM, Baba Ghaytadkar wrote: > Andrew Mcelroy wrote in post #1085862: > > On Wed, Nov 21, 2012 at 9:58 PM, Baba Ghaytadkar > > 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? > > -- > Posted via http://www.ruby-forum.com/. > > -- http://richardconroy.blogspot.com | http://twitter.com/RichardConroy --f46d042de819e5f7d504cf157e06 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I would have a search through the top google hits, and the stackoverflow an= swers in particular.

If Sharepoint has a REST API, then = using many of the Ruby libraries, like RestClient or any of its contemporar= ies 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 dedica= ted Sharepoint client.


On Thu, Nov 2= 2, 2012 at 12:06 PM, Baba Ghaytadkar <lists@ruby-forum.com> wrote:
Andrew Mcelroy wrote in post #1085862:
> On Wed, Nov 21, 2012 at 9:58 PM, Baba Ghaytadkar <= ;lists@ruby-forum.com>
> 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 interfac= e,
> 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?



--
=
http:/= /richardconroy.blogspot.com=A0|=A0http://twitter.com/RichardConroy

--f46d042de819e5f7d504cf157e06--