HTML response for RTC REST client...why :(
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
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
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