It's all about the answers!

Ask a question

JFS SDK Hello World Tutorial


Kyle Christianson (1261615) | asked Jun 08 '09, 2:25 p.m.
Hi,

I am working through the HelloJfs Web Application tutorial beginning at this page: https://jazz.net/wiki/bin/view/Main/GettingStartedPojo . All went well until I got toward the end and tried to use the REST service to look up the current user. Instead of displaying the current user, an exception is thrown at config.getWhoamiServiceURL() and "Hello World" is displayed.

I am using RTC Enterprise Server 2.0 Beta2 and noticed that the whoami service does not exist in the services.xml file. I added the following line to the file:

<jfs:currentUser rdf:resource="%server-URL%/whoami" />

and get the same output. It is now getting past the previous exception, but the http response status code is 401.

Any help would be much appreciated

One answer



permanent link
Masaki Wakao (236) | answered Jun 11 '09, 5:28 a.m.
JAZZ DEVELOPER
The Server SDK tutorial depends on Jazz Foundation Services, but RTC2.0 which is based on Jazz Foundation 1.0 doesn't support them. You need Jazz Foundation 1.0.0.1 to go through the tutorial.
Jazz Foundation 1.0.0.1M1 can be downloaded from https://jazz.net/downloads/jazz-foundation/milestones/1.0.0.1M1 .

We will put explicit dependency into the tutorial.

Your answer


Register or to post 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.