HTTP Filtered Value Set "The reference to entity "etag" must end with the ';' delimiter" problem
Russell Norlund (172●1●17●24)
| asked Mar 12 '13, 5:34 a.m.
retagged Sep 30 '13, 9:31 a.m. by Ralph Earle (257●3●9)
Hi Folks, I am running RTC 4.0.1 I have configured an HTTP Value Set customisation to retrieve values from an XML file that I have stored in RTC source Control. I get the following error message in the presentation when I try to retrieve the list:
"The reference to entity "etag" must end with the ';' delimiter"
The HTTP filtered Value set is configured as follows:
Is using the RTC Source Control to store the XML file a valid use case? There seems to be conflicting opinions on this. Does the 'etag' error relate to a problem with the XML file or is it a permissions problem.
If anybody can help on this I would be most grateful.
Kind Regards
Russell
|
7 answers
Have things changed or lucky me that I got pointed to the right direction: Was about to bring in Firefox and Firebug via special permission (IE8 is our standard, anything else is taboo here, can't download or install anything) to go the tortuous road you led, but there is a much simpler way to pick up that URL, maybe IBM's shortcoming here is just in not publishing decent instructions for it.
Comments
Russell Norlund
commented Sep 18 '13, 1:49 a.m.
Hi Long, thanks for sharing this. I think this is a much simpler way of doing things.
Cool! Do you mind if I test that and blog about it? I will share the originator, of course.
long TRUONG
commented Sep 23 '13, 1:15 p.m.
Ralph: have you got my 2 emails in response to the notification of your comment ?
long TRUONG
commented Sep 23 '13, 1:17 p.m.
Ralph: Essentially, I am not the originator, nor do I know who that genius is.
long TRUONG
commented Mar 10 '14, 8:19 p.m.
Just trying to transfer the set of XML files to another RTC PA: Phew! Kept misstepping, thought things have changed since I last tried this, the URL looked so regular. |
Hello Russel,
well - I have used XML files uploaded to jazz SCM to test HTTP Value Set Providers. However - I consider this as a hack - because you need to get the right URL to fetch XML content from SCM. I would encourage you to use HTTP server - I use cattail for testing - you may use WAS. To test with jazz SCM: 1 - upload your file 2 - Use Firefox and Firebug - go to SCM WebUI and navigate you your file 3 - open Firebug, Net tab 4 - click on edit 5 - check the URL that was used in Firebug and copy/paste if to your RTC Client Please note that each time you will change the XML content in jazz SCM, the URL will have to be changed to reflect changes :-( Comments
Russell Norlund
commented Mar 12 '13, 10:26 a.m.
Hi Eric, thanks for your reply. I followed the instructions but am still getting the same problem. The new URL is:
Is there anything else I need to configure to make this work?
Hello Russel,
Russell Norlund
commented Mar 12 '13, 12:13 p.m.
Hi Eric, I have added the values above and I am now getting the error message "HTTP connector could not authenticate, HTTP server returned code 406 Not Acceptable".
Not sure if this is to do with the format of the XML which looks like:
<xml>
<node>
<id>1</id>
<make>Acura</make>
<regions>,1,2,</regions>
</node>
<node>
<id>2</id>
<make>Aixam</make>
<regions>,2,</regions>
</node>
</xml>
Hello Russel,
|
I rechecked the values and they look OK. Extract from log file follows:
[HttpFilteredValueSetProvider]Retrieving values from HttpConnector...
[HttpConnector]Ignoring invalid SSL certificates
[HttpConnector]Using form based authentication
[HttpConnector]Retrieving session cookie...
[HttpConnector]Issue a new HTTP request
[HttpConnector]Got response 'Moved Temporarily'
[HttpConnector]Issue a new HTTP request
[HttpConnector]Got response 'OK'
[HttpConnector]Login...
[HttpConnector]Issue a new HTTP request
[HttpConnector]Got response 'Moved Temporarily'
[HttpConnector]Issue a new HTTP request
[HttpConnector]Got response 'Moved Temporarily'
[HttpConnector]Issue a new HTTP request
[HttpConnector]Got response 'Not Acceptable'
[HttpConnector]Could not authenticate
[HttpConnector]Could not retrieve XML document
|
Ralph Schoon (63.1k●3●36●45)
| answered Mar 12 '13, 1:16 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The easiest way I found is to use Apache. you basically have to know into whch folder to drop stuff or how to change the folder. See Build Artifacts Publishing Using HTTP Servers in Rational Team Concert for more details.
|
Russell, what happens when you enter the SCM URL you are using in a browser? You should be prompted to open or save a file. I believe the SCM URL should follow the format below. This URL should be in firebug (console tab) once you navigate to the file content as Eric explained.
https://<host>:9443/ccm/service/com.ibm.team.filesystem.common.IFileContentService/content/_r_07wItBEeK7HPN3M9ETow/_gTyV9ItCEeK7HPN3M9ETow |
Hi Folks, thanks for all your help.
Eric\Brian, I did copy the wrong URL. Once corrected it worked perfectly.
I think this is really useful feature that I will definitely use going forward. However, for production purposes I will use one of the mechanisms described by Eric and Ralph.
Eric thanks once again for your help (and patience) it is very much appreciated.
Kind Regards
Russell
Comments Hello Russell,
Russel, since the first answer, I posted: http://rsjazz.wordpress.com/2013/07/29/publish-and-host-xml-data-using-tomcat-the-easy-way/ and http://rsjazz.wordpress.com/2013/07/23/publish-xml-data-using-tomcat-hotfix-for-the-process-enactment-workshop/ I think with the option of using Jazz SCM, that should pretty much cover most of the scenarios.
|
I've submitted Update Configuring an HTTP filtered value set provider help topic based on Jazz Forum post (282602) to update the help topic with instructions for finding the URL of an XML document stored in RTC source control.
|
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.