Creating work items Issue
Hi,
I am having trouble creating worlitems on an RTC server. I tried to post the same workitem here: https://jazz.net/wiki/bin/view/Main/WorkItemAPIsForOSLCCM20#Creation_Factories
<rdf:RDF xmlns:dcterms="http://purl.org/dc/terms/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rtc_cm="http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/" > <rdf:Description rdf:nodeID="A0"> <dcterms:title rdf:parseType="Literal">Sample Work Item</dcterms:title> </rdf:Description> </rdf:RDF>
to my server with the same http headers in the article but I keep getting this error:
'HTTP Status 400, The request sent by the client was syntactically incorrect.'
I really can't figured out what's the issue since I am using exactly the same syntax in the article.
Thanks,
Mouhyi
One answer
Hi Mouhyi,
It seems your rdf snippet, as it appears above, has some validation errors. You can use this online tool to validate your rdf snippet. http://www.w3.org/RDF/Validator/
It seems your rdf snippet, as it appears above, has some validation errors. You can use this online tool to validate your rdf snippet. http://www.w3.org/RDF/Validator/
Comments
The format is correct, It is the same one in the link I posted above. For some reason, This page displays it incorrectly: It's adding html tags to it.