Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Web service AddTerms for TaxonomyClientService not working.

$
0
0

Hello,

We are trying to get AddTerms method to work in TaxonomyClientService using a web service call (not using the SP client obj model) but the request always returns 500 error. I have compared the headers and body of my request with the Fiddler trace of another software which uses the client obj model and they are word-for-word the same.

A sample one looks like this...

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns="http://schemas.microsoft.com/sharepoint/taxonomy/soap/">

<soap:Body><AddTerms xmlns="http://schemas.microsoft.com/sharepoint/taxonomy/soap/">

<sharedServiceId>c6ea8a52-de1b-4957-814d-69bf312c40f2</sharedServiceId>

<termSetId>8ef9d5d1-f804-410c-b276-9c6251a74abe</termSetId>

<lcid>1033</lcid>

<newTerms>

<newTerm label="someTerm" clientId="1" parentTermId="1ff4cd4f-6996-409f-8e97-d877079f2449">

</newTerm>

</newTerms>

</AddTerms></soap:Body></soap:Envelope>

I have made sure that the term set is indeed open and able to add terms. But I can never get past the 500 error. Searching around online it seems a great amount of people are having same problems. More people are having success working directly with the client obj model. There seems to be something wrong with the XML schema for direct web service calls?

Thank you,

Michael


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>