It's all about the answers!

Ask a question

Access the sandbox with OSLC


Lars Fockele (22179) | asked Jun 01 '12, 9:31 a.m.
retagged Jun 03 '12, 2:40 p.m. by David Olsen (5237)
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



permanent link
Lars Fockele (22179) | answered Jun 01 '12, 5:29 p.m.
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

permanent link
Steve Speicher (31765) | answered Jun 01 '12, 4:53 p.m.
JAZZ DEVELOPER

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


permanent link
Ralph Schoon (63.1k33645) | 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.

Your answer


Register or to post your answer.