HTTP Filtered Value Set "The reference to entity "etag" must end with the ';' delimiter" problem

- XML Data Source URL: URL point to the XML file in source control
- Row Xpath expression: //xml/node NB I use the same XML file outlined in RTC Scripting Using XML
- Column XPath expressions: ./make
- Column Identifier: Make
- Entry Label Format: ${0}
- Checkbox 'Apply filter strings to values received from data source ' is set
- Checkbox 'Sort Values received from data source' is set
- Authentication Method: No authentication required
- Checkbox 'Ignore invalid SSL certificates is set
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.
- Browse your xml file via the WebUI/Source Control
- Once your xml file (stored in RTC SCM) is displayed
- Right click the Download icon, second from left to right (don't lock and download with the first button) on the top RIGHT row of icons.
- Pick "Copy Shortcut" from the popup context menu
- And voilà, you got your URL, which is just longer than required (and will break the HTTP fetch).
- Something similar to, for an xml file named CarExample.xml:
- Its tail has to be cut off from &stateId= to be usable as:
Comments

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.

Ralph: have you got my 2 emails in response to the notification of your comment ?

Ralph: Essentially, I am not the originator, nor do I know who that genius is.

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.

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

Hi Eric, thanks for your reply. I followed the instructions but am still getting the same problem. The new URL is:

Hello Russel,
well - don't forget the oAuth authentication part:
FORM auth - default
URL: https://<server:port>/ccm/authenticated/j_security_check
user name: j_username
user password: j_password
cred identifier: rtcserver
user name and pwd : you user name and pwd
This should solve your issue.
Thanks

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".

Hello Russel,
this looks like an authentication error.
Double check URL and params
URL: https://clm.demo.com:9443/ccm/authenticated/j_security_check
user name: j_username
user password: j_password
cred identifier: rtcserver
user name and pwd : <you user name and pwd >
in bold are the static values ...



https://<host>:9443/ccm/service/com.ibm.team.filesystem.common.IFileContentService/content/_r_07wItBEeK7HPN3M9ETow/_gTyV9ItCEeK7HPN3M9ETow

Comments

Hello Russell,
glad you're up and running now - glad we could help.
Thanks.
Eric.

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.
