OSLC + JAVA (Eclipse Lyo) : Getting forbidden (403) exception while add/Update requirement using JazzFormAuthClient
I am able to add requirement and requirementCollection seperately ,
but when I am trying to add Uses in requirementCollection
i.e.
collection.addUses(new URI(requiremtnURL));
It i giving me 403 exception.
Also I am getting same exception while adding requirements if I am adding -
requirement.addValidatedBy(new Link(new URI("http://outlook.com"), "Link in REQ03"));
means wherever I am using URIs it is giving me exception as 403 - forbidden.
Note: I have create DNG server locally (https//localhost:9443)
How should I proceed to resolve this issue.
Thanks !
One answer
I suggest you ask your question in the OSLC Lyo forum at https://forum.open-services.net/c/sdks/lyo/9
The code you're using is OSLC code, not Jazz code.