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

sas_jr

Members
  • Posts

    6
  • Joined

  • Last visited

sas_jr's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. 1. Now i can use local XML in server to generate report. Thank you so much for ur help. 2. But I'm still Blank with Remote XML Datasource i mean I send XML data from my server (Other server not jasper server) it can list in the jasper studio. But I'm still not found the way to link it to server when I want to generate report in Server. This is my main work (So could you please help explain) Thnak you so much
  2. I follow ur step carefully. I create folder name service in my repository and all the file is together at service. I upload the Data , Adapter in XML and upload report from jasper studio choose "Don't use any datasource" . (I wonder why my XML in server is just only file) here is my .xml dataadapter it name testadapter.xml <?xml version="1.0" encoding="UTF-8"?> <remoteXmlDataAdapter class="net.sf.jasperreports.data.xml.RemoteXmlDataAdapterImpl"> <name>test</name> <fileName>repo:/service/test.xml</fileName> <useConnection>true</useConnection> <locale xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:java.lang.String">en</locale> </remoteXmlDataAdapter> and here is my data. I upload it to Server it name test.xml <?xml version="1.0" encoding="UTF-8"> <entry> <id>1</id> <name>Nuttapat Vimolratana</name> <password>1234567</password> <position>yabai</position> </entry> I also add following to my JRXML <property name="net.sf.jasperreports.data.adapter" value="repo:/service/testadapter.xml"/> but i got the error Failed to parse the xml document Oh i use jasperstudio by The way Thank you so much for your guide but i'm really new to this program and my programing skill not that good But your answer look like it for XML datasource that we upload to server. Can you explain about XML remote too ? I also attach my report and data for you. I don't know where did i do it wrong thank you sir
  3. I just start using jasperStudio not for long. I able to create jasper report from XML Datasource and XML Remote DataSource. But my problem is I have no idea how can i make XML , XML Remote Datasource available on my Jasper Server. I'm looking for answer almost 3 day. My Admin already make server able to upload XML file but some how it not see as data source but it just XML file. I need help how can i make Data source in Jasper Server for XML , XML Remote. I need to use both Do i need install anything or server ? or put any code in my jasper studio Please help. Thank you in advance :( This keep my work stuck for 2 day already.
×
×
  • Create New...