How to set a workflow state value using OSLC Java API in DNG?

Hello,
I have a workflow state value. This value is contained in a URI that represents its state value.
How can I update a workflow state value in dooors next generation?

My code:/…

requirement.getExtendedProperties().put(qname, “http://www.ibm.com/xmlns/rdm/workflowNavantia#Navantia.state.s5”);

// Here I can change the state value of my requirement

// But when I try update requirement
// Update the requirement

ClientResponse updateResponse = clientdng.updateResource(requirementLocation,
requirement, OslcMediaType.APPLICATION_RDF_XML);

// I cannot update HTML web jazz DNG clientdng.updateResource

Any suggestions on how to set the value to this a workflow state value?

Thanks in advance.