Access the sandbox with OSLC
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...
Steve Speicher (292●6●5) | answered Jun 01 '12, 4:53 p.m.
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,
Ralph Schoon (47.1k●1●34●40) | answered Jun 01 '12, 10:24 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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.
Lars Fockele (22●1●5●9) | answered Jun 01 '12, 5:29 p.m.
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,