It's all about the answers!

Ask a question

URI sent to RPE Template from Quick Print -> Generate PDF


Stephen Valliere (231418) | asked May 07 '14, 10:08 a.m.
Does anyone know the URI that is used by the RPE template when a user selects the "Create and Print" icon then "Create and Print PDF" from a Module Artifact? The URI it uses seems to have all of the XML information I am looking for with my OSLC integration but I can't seem to find out what request it is sending.

Accepted answer


permanent link
Mike Jaworski (1.4k6) | answered May 07 '14, 10:25 a.m.
JAZZ DEVELOPER
edited May 07 '14, 10:34 a.m.
  Stephen,

Have you tried using a Net traffic debugger, such as Firebug or Chrome Developer tools? This is what I would suggest in order to find out the specific HTTP request which is made when clicking the Quick Print button in the UI.

For example, the HTTP request which is sent when I try to do this is as follows:

https://clmweb.ibm.com:9443/rm/publish/print/requirement?resourceURI=https://clmweb.ibm.com:9443/rm/resources/_S1Ob0clkEeOQjcX_nqFG3Q&formatURI=http://com.ibm.rdm/reports/formats/pdf&showEmbedTitles=true&maximiseEmbeds=true&projectURI=https://clmweb.ibm.com:9443/jts/process/project-areas/_bE8gsLv6EeO71YKbliatQA

You will want to make sure that the URL parameters apply correctly to your specific scenario, of course. This request also looks like it returns a "Task Tracker" object, so you will want to make sure if you are executing this request programmatically that you follow the URL provided in the "Location" response header, until the response of the task tracker contains the RDF property:

<rm:state rdf:resource="http://www.ibm.com/xmlns/rdm/rdf/state#COMPLETE"/>

You may also want to take a look at this document to learn more about the RRC Reportable Rest API.

I hope this is the information you were looking for, and that I didn't lead you down an unnecessary rabbit-trail!
Mike Jaworski
Stephen Valliere selected this answer as the correct answer

Comments
Stephen Valliere commented May 07 '14, 10:32 a.m.

 This is helpful information, thank you. I will let you know if it solves my issue.

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.