How I can implement an input control from Web Service data source?

0

Hi,

I have a problem using Web Service data source in input controls. In the page of the plugin Web Service Data Source (http://community.jaspersoft.com/project/web-service-data-source) there are no examples of implementation but specifies that it's possible. Does anyone have an example of use input control with Web Service Data Source or documentation to do it?

Thanks,

Jorge

jorgemartinezcanto's picture
Joined: Sep 13 2017 - 2:59am
Last seen: 1 year 9 months ago

Any idea for this?

jorgemartinezcanto - 1 year 9 months ago

4 Answers:

0

Any idea for this?

jorgemartinezcanto's picture
Joined: Sep 13 2017 - 2:59am
Last seen: 1 year 9 months ago
0

Update

I copied the code that Report Studio generates in the web service datasource and pasted in Web Service Query in the Input Control. It seems that do something but i get this error:

java.lang.IllegalStateException: Processor of type com.jaspersoft.jasperserver.war.cascade.handlers.converters.DataConverter for class org.apache.xerces.dom.DeferredElementImpl not configured

What am I missing here?

 

jorgemartinezcanto's picture
Joined: Sep 13 2017 - 2:59am
Last seen: 1 year 9 months ago
0

well i think that your inputcontrol in JRS updates a report parameter that you have to specifiy as usually.

use this report parameter as $P{} into your webservice url stuffs or inside its json if it is a post. ( I didn't try).

HTH

christophe.spielmann's picture
Joined: Feb 7 2014 - 8:42am
Last seen: 8 months 4 days ago
0

What Query Language do you have for that Input control query?
I can't find WebServicesQuery in that drop-down list. But it exists as Query Language for Dataset Dialog.

teresco's picture
18
Joined: Oct 16 2017 - 2:59am
Last seen: 10 months 1 week ago
Feedback
randomness