Access the sandbox with OSLC
Lars Fockele (22●1●7●9)
| asked Jun 01 '12, 9:31 a.m.
retagged Jun 03 '12, 2:40 p.m. by David Olsen (523●7)
Hi,
I got a Jazz.net Sandbox with RRC, RTC,... Is it possible to reach the sandbox with an OSLC script? I didn't found a web address like https://servername:9443/rm... thank you, regards, Lars |
3 answers
I haven't had any issue with using OSLC from the sandbox. I find my way to which oslc:ServiceProvider I need by starting with the Jazz RootServices. At least for my sandbox I'm currently playing in, I get at https://jazz.net/sandbox01-ccm/rootservices and then follow the oslc:ServiceProviderCatalog for CM https://jazz.net/sandbox01-ccm/oslc/workitems/catalog and then find the oslc:ServiceProvider for my project. From there, you can run with scissors. Hope that helps, Steve |
Ralph Schoon (63.5k●3●36●46)
| answered Jun 01 '12, 10:24 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Lars,
i don't see why not. I would suggest to look into the OSLC Workshop https://jazz.net/library/article/635 to better understand how to retrieve the information. |
Ralph, Steve,
thank you for your answers. Now it works, with the Firefox REST AddOn and I can browse through my requirements. But (I write this, because you talked about the workshop, Ralph...) with the workshop examples I get an exception at this point: (HttpUtils: line 147) Header location = documentResponse.getFirstHeader("Location"); After this call, "location" is NULL. When I debug the sample in my local environment, there is a webaddress inside, but when I connect to the sandbox it throws an exception after this line (when the "location" variable is used). It would be very nice, if you have an idea to this issue. Thank you for your help, Lars |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.