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

JFS SDK Hello World Tutorial

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

0 votes



One answer

Permanent link
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.

0 votes

Your answer

Register or log in 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.

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: Jun 08 '09, 2:25 p.m.

Question was seen: 7,682 times

Last updated: Jun 08 '09, 2:25 p.m.

Confirmation Cancel Confirm