• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 681
  • Last Modified:

Getting versions of Discussion library using versions.asmx gives exception

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
econcepts
Asked:
econcepts
  • 3
1 Solution
 
lionel_barreCommented:
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
 
econceptsAuthor Commented:
Thanks for your reply.
Is there any way to get versions of Discussion or folder present in a list by using web service.

0
 
lionel_barreCommented:
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
 
lionel_barreCommented:
Did this work out for you?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now