XmlConverter is built with Eclipse 3.3 and tested with Glassfish server 9.1.

Installation is simple: just drop xmlConverterWeb.war file into 'C:\Sun\SDK\domains\domain1\autodeploy' folder of the default server instalation. The server will install it automaticaly.

There is also a way to install it manualy. Start your application server, then browse to http://localhost:4848. Browse tree view in the left pane and click on Aplications\Web Applications link then click on button Deploy in the right pane.

Additional stepa are required: 
1. Copy \xslt folder (from \dist directory which contain distribution files of XmlConverterWeb) into following directory 'C:\Eclipse_ePP_AF\AllInOneWorkspace\ELLECTRA-WeB\eu.ellectraweb.framework.components\Components\Document conversion\dist\'.
2. Copy \xslt-fo folder (from \dist directory which contain distribution files of XmlConverterWeb) into following directory 'C:\Eclipse_ePP_AF\AllInOneWorkspace\ELLECTRA-WeB\eu.ellectraweb.framework.components\Components\Document conversion\dist\'.
3. To view generated HTM files as they should be, be sure to have \css folder (from \dist directory which contain distribution files of XmlConverterWeb) in the same location as HTML files.
4. Copy FOP configuration file fop-conf.xml from \dist folder to C:\Eclipse_ePP_AF\AllInOneWorkspace\ELLECTRA-WeB\eu.ellectraweb.framework.components\Components\Document conversion\dist\.
5. Copy arial.xml and arialbd.xml from \dist folder to C:\Windows\Fonts folder.

After installation, there are web service working on the following address: http://localhost:8080/XmlConverterWeb/XmlConverterServiceService.

WSDL is accessible from the following address: http://localhost:8080/XmlConverterWeb/XmlConverterServiceService?wsdl

Web Service has one method:

String Convert(String formType, String path, String mimeType).

- formType: type of form that should be processed.
- path: file path of the XML file to be converted.
- mimeType: mime type of the desired file type, 'application/pdf' for PDF files and 'text/plain' for HTML.

Return value is message stating succesful operation, or error message in case if any error occurs.

Valid form types are:

F01_PRIOR_INFORMATION
F02_CONTRACT"
F03_CONTRACT_AWARD
F04_PERIODIC_INDICATIVE_UTILITIES
F05_CONTRACT_UTILITIES
F06_CONTRACT_AWARD_UTILITIES
F07_QUALIFICATION_SYSTEM_UTILITIES
F08_BUYER_PROFILE
F09_SIMPLIFIED_CONTRACT_DPS
F10_CONCESSION
F11_CONTRACT_CONCESSIONAIRE
F12_DESIGN_CONTEST
F13_RESULT_DESIGN_CONTEST

