It's all about the answers!

Ask a question

Creating work items Issue


Mouhyi El Bouhali (112) | asked Jul 16 '12, 10:26 a.m.
edited Aug 29 '12, 3:48 p.m.
 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



permanent link
Ifeanyichukwu Agu (561) | answered Jul 26 '12, 2:34 a.m.
JAZZ DEVELOPER
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/

Comments
Mouhyi El Bouhali commented Aug 29 '12, 3:51 p.m.

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.

Your answer


Register or to post your answer.