mti Posted September 19, 2014 Share Posted September 19, 2014 I have the following problem:I created a data adapter (XML Remote) in Jaspersoft Studio. The URL looks like:http://user:pw@ip:port/employees.xmlA browser shows me the correct XML file.In Jaspersoft Studio i get an 401 http error.I started a network sniffer.The browser request has a login credential, the Jaspersoft Studio request not.How can I get XML from a remote server, when a authentication is needed? Thx in advance! Link to comment Share on other sites More sharing options...
mti Posted September 22, 2014 Author Share Posted September 22, 2014 How can I pass the user and password to XML_USER and XML_PASSWORD in the right way?This does not work. Still getting the 401 error:http://192.168.5.69:1234/employees/1003.xml?XML_USERNAME=user&XML_PASSWORD=pw Link to comment Share on other sites More sharing options...
mti Posted September 22, 2014 Author Share Posted September 22, 2014 Can someone tell me how to edit the jrxml that the username and password is set per default? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now