Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Getting versions of Discussion library using versions.asmx gives exception

Posted on 2009-03-31
5
Medium Priority
?
673 Views
Last Modified: 2012-05-06
Hi,

I am using versions.asmx to retrive different versions of list item. This webservice has method getversions which takes filename as parameter. the filename parameter is of path ListName\ListId. But when i try to put discussion library filepath it gives me SoapServerException. Its details gives me the file path defined does not exist. If anybody has used this web service for discussion to retrieve the versions of discussions and reply then please let me know.
0
Comment
Question by:econcepts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 4

Expert Comment

by:lionel_barre
ID: 24036832
The version.asmx Web Service can only be used to retriev version values of files (i.e. SPFile objects).
If you point it to a Url that is not a file stored in SHarePoint it will raise an error
0
 

Author Comment

by:econcepts
ID: 24037317
Thanks for your reply.
Is there any way to get versions of Discussion or folder present in a list by using web service.

0
 
LVL 4

Accepted Solution

by:
lionel_barre earned 200 total points
ID: 24037827
No standard WebService to my knowledge will give you that information, you can write your own however : http://msdn.microsoft.com/en-us/library/ms464040.aspx
 
0
 
LVL 4

Expert Comment

by:lionel_barre
ID: 24166672
Did this work out for you?
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question