= Lowlevelbitstorage = == build.xml == {{{ }}} == build-includes.xml == Contain the basic tasks, including war that are nessesary for normal operation of the module. == build-jaxb-properties.xml == Properties are handled by jaxb serialisation. A schema must be provides for a config file. Through the build-jaxb-properties.xml this schema is translated to a java class, and packaged as a jar in the module library. Implementations needing to use the config system can then unmarshall instances of this class from the properties file. The schema is the defining feature, from which the java is made, so to change the layout of the config file, the schema must be changed. And, the config files can be schema validated. == build-soap-webservices.xml == Soap webservices are made with Jaxws-ri-2.x. At the time of writing we are using version 2.1.7 The basic idea of this framework is WSDL first, java second. To use the framework, you must write a WSDL file yourself, and the framework will then translate that to java code. The java code will be put in a jar file, in the module libs, so that you do not run the rist of editing it. All interface edits should take place in the WSDL, and then be probagated to the java interface. The java interface should then be implemented by your implementation. In order to use this framework, the following prerequisites must be fulfilled: === web.xml === web/WEB-INF must contain web.xml, with the following content {{{ com.sun.xml.ws.transport.http.servlet.WSServletContextListener JAX-WS endpoint WSServlet WSServlet com.sun.xml.ws.transport.http.servlet.WSServlet 1 WSServlet /lowlevel/* }}} where lowlevel of course should be changed to the correct path. === sun-jaxws.xml === web/WEB-INF must contain sun-jaxws.xml with the following content {{{ }}} url-pattern should match the one set in web.xml. The important fields are interface and implementation. The interface field should be set to the interface autogenerated from the WSDL, and the implementation is the one you have made === WSDL === web/WEB-INF/wsdl must contain the wsdl file. This one will not be pasted here.