[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 679
  • 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

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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