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)
Reportparameter in Webservice Datasource
Enzifer
Hello,
is it possible to include reportparameters in the wsdl url of a webservice datasource? Can you give me some hints?
Thanks for your helpful hints ;-)
Find more posts tagged with
Comments
Virgil Dodson
Hi Enzifer,
Starting with BIRT 2.3, the WSDL URL can be an expression in the property binding tab of the data source. There you can use parameters to construct the URL.
Enzifer
Hello,<br />
<br />
I've a question to the wsdl url property binding. For instance if I have my wsdl url <a class='bbc_url' href='
http://myserver/WSDL/my_webservice'>http://myserver/WSDL/my_webservice</a>
; how is the handling with this in the property binding? I mean I have a reportparameter which is called SERVER -->params["SERVER"].value how will the url look like? Is is like this <a class='bbc_url' href='
http://params'>http://params</a>["SERVER"].value/WSDL/my_webservice?<br
/>
<br />
Then I have a 2nd question to BIRT 2.3. In BIRT 2.2.2 when I defined the dataset at the Table Mapping point. I've get the operation of my webservice but in 2.3 there not the several columns in the XML-structure which I can see at 2.2.2 so on the Column Mapping point at 2.3 I can not add the several columns from the XML-structure in 2.2.2 I can do this why not in 2.3?<br />
<br />
I hope again for helpful hints ;-)<br />
<br />
Thanks
Virgil Dodson
The property binding will look more like this:
"
http://"
; + params["SERVER"].value + "/WSDL/my_webservice"
I do not understand the second part of your question. If you mean you would like to select from the XML path to define the table and column mappings, then that is still possible with BIRT 2.3. Of course this depends on your web service successfully running in order to show the XML structure.
Enzifer
Hello,
I have attached a JPG to show what I mentioned.
The webservice and the report file are exactly the same the only different is the BIRT version.
I don't know why this is not like in BIRT 2.2.2
Virgil Dodson
It may be a bug then and worth reporting at <a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/reportabug.php'>http://www.eclipse.org/birt/phoenix/reportabug.php</a><br
/>
<br />
I found some similar bugs but they looked like they were fixed for 2.3.0 RC1
Enzifer
Hello,
I have some understanding problems with the property binding wsdl url. I have defined the url how vdodson have described it. And now how should the wsdl url look like in the wsdl descriptor? Is a wsdl url in the wsdl descriptor needed when I defined a wsdl url in the property binding? Is there something like a documentation for it? I need a way to define a dynamic webservice datasource.
At the moment I have the problem that I have defined a fixed wsdl url in the wsdl descriptor and I have defined the string for my dynamic wsdl url in the property binding but it seems that it doesn't work if I put in a another server.
Thanks for helpful hints ;-)