Jump to content
We've recently updated our Privacy Statement, available here ×

Is it possible to add a remote xml document data source with HTTP Authentication to JasperSoft Studio?


joao.raposo

Recommended Posts

Hello,


After an intensive search I couldn't found any solution to add an external xml document, that resides in a domain with basic authentication to JasperSoft Studio.


Bellow I explain my first attempts:


1 - Add login information to url:


I used the url -> https://user:password@www.test.com?param1=xpto&param2=xpto


2 - Add params to jrxml:


a - XML_URL, XML_USERNAME and XML_PASSWORD as java.lang.String


b - XML_URL, XML_USERNAME and XML_PASSWORD as net.sf.jaspersoft.engine.query.JRSPathQueryExecuterFactory


3 - Add proprieties to JasperSoft Studio:


a -XML_USERNAME and XML_PASSWORD as com.jaspersoft.jrx.query.JRSPathQueryExecuterFactory


a -XML_USERNAME and XML_PASSWORD as net.sf.jaspersoft.engine.query.JRSPathQueryExecuterFactory



 

I found that is possible to edit XML_URL, XML_USERNAME and XML_PASSWORD when using some programming language, but I'm not sure if it's possible to do it  inside JasperSoft Studio.

 

Does anyone has more information about this question?

 

My main objective it's to JasperSoft Studio connect directly to my remote xml url so it can be possible to use "Data set and query dialog" with my remote xml information.

 

Thank you.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...