I've created master report and I am adding a subreport which uses "Web Service DataSource" according the documentation. I am struggling with the following instructions :
In the subreport configuration (or the dataset) specify not to use any connection at all (leave blank both the connection expression and the datasource expression. The only thing we'll have to do is passing some mandatory parameters for internal webservice datasource to work properly :
- uriKey
- authTypeKey
- authParametersKey
- languageKey
- verbKey
I've mapped parameters of the master report and the subreport.
uthParametersKey
, languageKey
, verbKey
are java.lang.Object. So, what should I write to the "Default Value Expression"?
Here is my source relating to parameters:
<parameter name="authTypeKey" class="java.lang.String">
<defaultValueExpression><![CDATA["none"]]></defaultValueExpression>
</parameter>
<parameter name="authParametersKey" class="java.lang.Object" isForPrompting="false"/>
<parameter name="languageKey" class="java.lang.Object">
<defaultValueExpression><![CDATA["xml"]]></defaultValueExpression>
</parameter>
<parameter name="verbKey" class="java.lang.Object">
<parameterDescription><![CDATA[]]></parameterDescription>
<defaultValueExpression><![CDATA["get"]]></defaultValueExpression>
</parameter>
<parameter name="Request" class="java.lang.String">
<defaultValueExpression><![CDATA["<id>12</id>"]]></defaultValueExpression>
</parameter>