|
|
Re: BIRT Webservice ODA integration with JIRA [message #879156 is a reply to message #879126] |
Wed, 30 May 2012 16:11 |
|
You could do this with a custom connection class. See this article:
http://www.birt-exchange.org/org/devshare/designing-birt-reports/461-birt-web-service-oda-article/
But another way would be to do it the way you are doing it but make sure
the second request is in a nested table. The outer table would be the
auth request and the inner one would be the second request and you would
bind the in0 parameter to the outer tables tokenVolumnValue.
Jason
On 5/30/2012 11:07 AM, Jay Hamilton wrote:
> So my goal is to call the JIRA webservice method login, passing in a
> user and password. I can do this from BIRT and get a response in the
> form of a data set column value that includes the token returned from
> the service.
> My goal is to take the token and use it in another SOAP based data
> source. So I tried to use dataset["tokenColumnValue"] as a parameter
> within the following SOAP request:
>
> <in0 xsi:type="xsd:string">&?in0?&</in0>
> <in1 xsi:type="xsd:string">&?in1?&</in1>
> </m:getProjectByKey>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
> The first parameter, in0, corresponds to the token JIRA expects. I tried
> to pass the dataset["tokenVolumnValue"] in for that parameter along with
> a default project key.
>
> When the report runs the token is returned but it does not seem to be
> getting passed into the SOAP request.
>
> So the investigation continues.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03844 seconds