do you have any idea about this type of exception "System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Data at the root level is invalid. Line 1, position 1."
I have receveided this exception when I tried to call the method "GetTermsets" using the web service "taxonomyclientservice.asmx"
Here is the portion of my code:
Dim ts As New TaxonomyService.Taxonomywebservice
ts.UseDefaultCredentials = True
ts.Url = SiteUrl + "/_vti_bin/taxonomyclientservice.asmx"
Dim timestamp As String
timestamp = String.Empty
Try
termsetXML = ts.GetTermSets(sspId, termSetId, 1033, DateTime.Now.ToUniversalTime().Ticks.ToString, 0, timestamp)
Console.WriteLine("This is the XMLstring that contain all the temrs of the term set : {0}", termsetXML)
Return termsetXML
Catch ex As Exception
Debug.WriteLine(ex)
End Try
The values of sspId and termSetId are of String type and they get values from an other method that I tested and it is working so well.
Unfortunatally, there no programmer in my team to help in such situationI
Thanks so much!