How to get the process configuration source xml file ?
4 answers
Kishore,
if your code is invoked by a service, you can use the IContentService for
retrieving the XML content. You need something like:
IProcessContainer projectArea= ...;
IContentService contService= getService(IContentService.class);
Map<String> procData= projectArea.getProcessData();
IContent procContent=
procData.get(ProcessContentKeys.PROCESS_SPECIFICATION_KEY);
ByteArrayOutputStream outStream= new ByteArrayOutputStream();
contService.retrieveContent(procContent, outStream);
String xmlContent= outStream.toString(IContent.ENCODING_UTF_8);
HTH,
Jan.
--
Jan Wloka
Jazz Work Item Team
On Fri, 08 Jan 2010 10:23:05 +0100, kkishore
<krishna> wrote:
if your code is invoked by a service, you can use the IContentService for
retrieving the XML content. You need something like:
IProcessContainer projectArea= ...;
IContentService contService= getService(IContentService.class);
Map<String> procData= projectArea.getProcessData();
IContent procContent=
procData.get(ProcessContentKeys.PROCESS_SPECIFICATION_KEY);
ByteArrayOutputStream outStream= new ByteArrayOutputStream();
contService.retrieveContent(procContent, outStream);
String xmlContent= outStream.toString(IContent.ENCODING_UTF_8);
HTH,
Jan.
--
Jan Wloka
Jazz Work Item Team
On Fri, 08 Jan 2010 10:23:05 +0100, kkishore
<krishna> wrote:
Hi,
I want to fetch the process configuration source xaml given a project
area. Is their any API which fetches this xaml file. Basically I want
to parse this file and extract information regarding operation
behaviors.
Thanks,
Kishore
Hi Jan,
I was not specific in my question. I am not looking at JAVA API. I want to know if their is a web request, something like a REST call. I work on the RTC Visual Studio clien team and I want to get this data from the VS client.
Thanks,
Kishore
I was not specific in my question. I am not looking at JAVA API. I want to know if their is a web request, something like a REST call. I work on the RTC Visual Studio clien team and I want to get this data from the VS client.
Thanks,
Kishore
Kishore,
if your code is invoked by a service, you can use the IContentService for
retrieving the XML content. You need something like:
IProcessContainer projectArea= ...;
IContentService contService= getService(IContentService.class);
Map<String> procData= projectArea.getProcessData();
IContent procContent=
procData.get(ProcessContentKeys.PROCESS_SPECIFICATION_KEY);
ByteArrayOutputStream outStream= new ByteArrayOutputStream();
contService.retrieveContent(procContent, outStream);
String xmlContent= outStream.toString(IContent.ENCODING_UTF_8);
HTH,
Jan.
--
Jan Wloka
Jazz Work Item Team
On Fri, 08 Jan 2010 10:23:05 +0100, kkishore
<krishna> wrote:
Hi,
I want to fetch the process configuration source xaml given a project
area. Is their any API which fetches this xaml file. Basically I want
to parse this file and extract information regarding operation
behaviors.
Thanks,
Kishore
On Mon, 11 Jan 2010 05:37:53 +0000, kkishore wrote:
No, we don't have a REST API for this yet.
--
Jared Burns
Jazz Process Team
I was not specific in my question. I am not looking at JAVA API. I want
to know if their is a web request, something like a REST call. I work
on the RTC Visual Studio clien team and I want to get this data from the
VS client.
No, we don't have a REST API for this yet.
--
Jared Burns
Jazz Process Team
Hi,
Where can I find documentation on the API? I see your code but I can hardly understand the object model.
Is it possible to get the source config XML, make changes and set it back to the project area?
No, we don't have a REST API for this yet.
--
Jared Burns
Jazz Process Team
Where can I find documentation on the API? I see your code but I can hardly understand the object model.
Is it possible to get the source config XML, make changes and set it back to the project area?
On Mon, 11 Jan 2010 05:37:53 +0000, kkishore wrote:
I was not specific in my question. I am not looking at JAVA API. I want
to know if their is a web request, something like a REST call. I work
on the RTC Visual Studio clien team and I want to get this data from the
VS client.
No, we don't have a REST API for this yet.
--
Jared Burns
Jazz Process Team