Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Mangage Web Service with a Session ID
evgeny
Hi and thank you for reading,
I would like to use a web service in order to retrieve data for my report, but there is a constraint. In order to connect to my web service i need to pass an authentication SOAP message to the web service, as a SOAP response I will get a session ID. The session ID need to be included in every further SOAP query to the web service.
Is there a birt internal way to realize it? Or is the only way to do it, to programm a java class for that?
Thank you in advance for your help
Evgeny
Find more posts tagged with
Comments
Virgil Dodson
Hi Evgeny,
You can pass a value you receive from one web service to another web service. One way is to use nested tables and the Parameter binding option on the Table's Binding tab.
Another way would be to hold on to a variable early in the report and use that variable with the rest of the report.
I have attached an example that works two different ways; a nested set of tables that pass values to another web service... and holding onto a value from one web service response that is used for another web service request later.
This example was created in BIRT 2.5.1 and in both cases, the trick to passing values to a web service like this is on the Table's Parameter Binding.