It's all about the answers!

Ask a question

HTML response for RTC REST client...why :(


kamala sastry (131) | asked Nov 23 '09, 8:03 a.m.
Through java client when "https://rtcserver:9444/jazz/rootservices/"
is invoked, I get to see a proper XML.
But when I try to access CM services using "https://rtcserver:9444/jazz/oslc/workitems/catalog" I get a html response (as given below)
Tried all possible values for properties like accept and content-type but no success yet. I am using basic authentication on HttpConnection.


<DOCTYPE><Licensed>
<html>
<head>
<meta>
<meta>
<title>Loading...</title>
<link>
<link></link>
<style>
#net-jazz-ajax-NoScriptMessage {
width: 100%;
color: #D0D0D0;
font-size: 2em;
text-align: center;
position: absolute;
top: 45%;
z-index: 999;
}
</style>

<if>
<style>
body {
width: expression(documentElement.clientWidth < 860 ? "860px": "" );
}
</style>
<endif>
</head>
<body>
<noscript><div>Javascript is either disabled or not available in your Browser</div></noscript>

Any help???

Thanks
Kamala

One answer



permanent link
Patrick Streule (4.9k21) | answered Nov 23 '09, 12:08 p.m.
JAZZ DEVELOPER
Through java client when
"https://rtcserver:9444/jazz/rootservices/"
is invoked, I get to see a proper XML.
But when I try to access CM services using
"https://rtcserver:9444/jazz/oslc/workitems/catalog" I get
a html response (as given below)
Tried all possible values for properties like accept and content-type
but no success yet. I am using basic authentication on
HttpConnection.

The most likely reason is that you use Basic Auth in your client, but the
server is configured for Form Based Auth. The HTML file seems to be login
page.

--
Regards,
Patrick
Jazz Work Item Team

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.