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

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: 5 years 5 months ago

Any idea for this?

jorgemartinezcanto - 5 years 6 months ago

4 Answers:

Any idea for this?

jorgemartinezcanto's picture
Joined: Sep 13 2017 - 2:59am
Last seen: 5 years 5 months ago

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: 5 years 5 months ago

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: 4 years 4 months ago

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
44
Joined: Oct 16 2017 - 2:59am
Last seen: 4 years 6 months ago
Feedback
randomness