It's all about the answers!

Ask a question

Customizing RTC Value set


swapna das (3324872) | asked Jul 16 '13, 5:02 a.m.
edited Jul 23 '13, 7:43 a.m. by Ralph Schoon (63.6k33647)

Hi ,

   I am customizing RTC value set.For that I did change the server configuration file and crated the xml file alo as per my requirement.

Can you please let me now where I need to deploy the XML file so that I can provide the  XML datasource URL in RTC eclipse client while customizing the value set.

Thanks in Advance ,

Swapna Das

4 answers



permanent link
Eric Jodet (6.3k5111120) | answered Jul 16 '13, 5:24 a.m.
JAZZ DEVELOPER
 Hello,
are we talking about HTTP Value Set provider?
If so, please refer to the Infocenter documentation
https://jazz.net/help-dev/clm/topic/com.ibm.team.workitem.doc/topics/t_configuring_http_filtered_value_set.html

Please also check here https://jazz.net/library/article/1257
and ensure script is enabled on your server

Basically, the XML source must be deployed to an HTTP server and accessible from the network.

Hope it helps.
Eric.

Comments
swapna das commented Jul 16 '13, 6:40 a.m.

Hi Eric,

  Thanks a lot for your quick response.I went through the links based on that only I did configure the server.My question is where do I need to deploy my XML file in any server or in JAZZ server ?So that I can mention the XML Data Source URL in the eclipse client.Please help me.

Thanks In Advance,

Swapna


permanent link
Ralph Schoon (63.6k33647) | answered Jul 16 '13, 7:35 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

you can not publish using a jazz server, you could use Apache as described in https://jazz.net/library/article/797 and in https://jazz.net/library/article/1093 Lab 4 - HTTP Filtered Value Provider. You can specify which folder to publish. By default it is htdocs in the Apache folder.

Comments
Eric Jodet commented Jul 16 '13, 7:42 a.m.
JAZZ DEVELOPER

right Ralph - you were faster than me :)


Eric 


Ralph Schoon commented Jul 16 '13, 9:26 a.m. | edited Jul 16 '13, 9:28 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Eric, I tried Tomcat as HTTP server and found no way. Maybe it works, but all indicators lead me to having to deploy a WAR file.
I am not sure WAS supports this, but again it is a Web server, so I don't think so.

IBM HTTP Server (Apache based) or Apache were the easiest ways I found. As documented in the Process Enactment workshop Lab 4, using the File:///.....syntax does not work with the HTTP Filtered Value Set. It needs a HTTP connection and a URL, so you have to publish the file.


permanent link
abhishek patti (9134) | answered Jul 16 '13, 11:52 a.m.
JAZZ DEVELOPER
For more info , look at this example - http://jorgediazblog.wordpress.com/2012/06/27/work-item-customization-httpconector-and-oauth-in-rtc-4-0-for-oslc/

permanent link
Ralph Schoon (63.6k33647) | answered Jul 23 '13, 7:02 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Please see http://rsjazz.wordpress.com/2013/07/23/publish-xml-data-using-tomcat-hotfix-for-the-process-enactment-workshop/ for an example how to publish XML files on Tomcat.

Comments
Ralph Schoon commented Jul 23 '13, 7:12 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

It now contains a WAR File that you can use with the Process Enactment Workshop.


Ralph Schoon commented Jul 29 '13, 3:01 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

How embarrassing, but as Freddy points out on his reply to my comment on http://sudhakarf.wordpress.com/2013/07/19/http-filtered-value-set-providers-and-dependent-enumerations/ there is an even easier way to publish that data on Tomcat. I have described it here: http://rsjazz.wordpress.com/2013/07/29/publish-and-host-xml-data-using-tomcat-the-easy-way/ 

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.