Hello, <br />
<br />
I would like to use the WebViewerExample but I need to make some changes: <br />
<br />
1) I don't want to start the web-viewer out of the browser. I would like to use a java-program, which sends the needed details (as run/frameset, the reportname and parameters and the xml-data-source as a stream). Therefore, I am using a http-post-request with MultipartRequestEntity:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>PostMethod post = new PostMethod(urlString);
File file = new File(dataSourceFile);
Part[] parts = { new StringPart("reportFile=", reportFile),
new StringPart("xmlFileSize=", file.length() + ""),
new FilePart(file.getName(), file) };
post.setParameter("reportFile=", reportFile);
post.setRequestEntity(new MultipartRequestEntity(parts, post.getParams()));</pre>
<br />
I tested this with a modified webReport.java example on <a class='bbc_url' href='
http://wiki.eclipse.org/Servlet_Example_(BIRT)_2.1.'>http://wiki.eclipse.org/Servlet_Example_(BIRT)_2.1.</a> This all works fine. But now I would like to use the great advantages of the web viewer example (like TOC). But I don't know what I have to change to<br />
<br />
a. do an http-post-request as described above <br />
b. use an xml-file-stream as an input for the data source. <br />
<br />
<br />
<br />
2) Furthermore, I have got problems with building the web-viewer-example using ant. I followed the steps described on <a class='bbc_url' href='
http://wiki.eclipse.org/BIRT/FAQ/Birt_Project#Q:_How_do_I_build_the_2.2.2F2.3.2F2.5_BIRT_Viewer.3F'>http://wiki.eclipse.org/BIRT/FAQ/Birt_Project#Q:_How_do_I_build_the_2.2.2F2.3.2F2.5_BIRT_Viewer.3F</a> <br />
but instead of a fully functional viewservlets.jar just a viewer.jar and an empty viewservlets.jar was created. I tried to make some changes on the build.properties file but then I got new errors while the building process. Here is the build.properties file which I used: <br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>src.includes = about_files/,\
about.html,\
viewerservletssrc/
bin.includes = META-INF/,\
about.html,\
about_files/,\
plugin.xml,\
viewer.jar,\
birt/,\
schema/,\
plugin.properties
jars.compile.order = viewer.jar
source.viewer.jar = src/
output.viewer.jar = bin/
bin.excludes = birt/WEB-INF/classes/,\
birt/test1.rptdesign
customBuildCallbacks=customBuildCallbacks.xml
</pre>
<br />
I hope anyone can help me gain new ideas or has some code snipptes.

<br />
<br />
Regards<br />
<br />
Jana