It's all about the answers!

Ask a question

OSLC + JAVA (Eclipse Lyo) : Getting forbidden (403) exception while add/Update requirement using JazzFormAuthClient


Shriram Punde (11) | asked Dec 13 '21, 5:32 a.m.
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



permanent link
David Honey (1.4k17) | answered Dec 13 '21, 5:45 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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.

Your answer


Register or to post your answer.