0
votes

I am begginer and never written any web service. We are using sharepoint 2007 and we want to access and display SharePoint List from one site to another site,but both sharepoint sites are on different server. For this Please let me know how to write and access Web Service for same. Please share if an imp link or reference.

Thanks in advance, Rushikesh

1
Madhur is right on this one with the two links he's given you. The question is how you want to access the Lists Web Service: in managed code, client side script, etc.Marc D Anderson

1 Answers

1
votes

What do you mean by different server ? Do you mean different SharePoint farms ?

If the both are in same Active Directory domain, you can simply access the OOTB web services to display the data. Use the Lists Web Service:

http://msdn.microsoft.com/en-us/library/lists.lists(v=office.12).aspx

You can also use SPServices library for the same. See:

http://weblogs.asp.net/bsimser/archive/2010/04/12/using-jquery-and-spservices-to-display-list-items.aspx