Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

[closed] forbidden error creating workitem using OSLC

I'm trying to create a java client that can talk with RTC (4.0.3) via OSLC, to create/read/update WI.

Tthe "create" of a ChangeRequest (WI) fails.

The code  is:

//Create the change request
ClientResponse creationResponse = client.createResource(
                           changeRequestCreation, changeRequest,
                           OslcMediaType.APPLICATION_RDF_XML,
                           OslcMediaType.APPLICATION_RDF_XML);

String changeRequestLocation = creationResponse.getHeaders().getFirst(HttpHeaders.LOCATION);

You can realize that "create" fails since the "changeRequestLocation" is null.

The ClientResponse fields "status" and "message" are respectively "403" and "forbidden".

I'm sure that credentials are correct, and they are allowed to create a WI (I've verified from RTC WUI), someone can help me?

thanks!

0 votes

Comments
Hi,

I am facing same issue , is there any way you resolved it ?
it will be really helpful if we got some way.


The question has been closed for the following reason: "Problem is not reproducible or outdated" by rschoon Dec 13 '21, 2:19 p.m.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Oct 22 '14, 5:21 a.m.

Question was seen: 3,705 times

Last updated: Dec 13 '21, 2:19 p.m.

Confirmation Cancel Confirm