XINS 2.0 alpha 6 released

2007-03-20
2013-04-26
  • I've just released XINS 2.0 alpha 6

    The main new changes are:
    - Improved logging messages.
    - Changed classes to better fit Java coding convention.
    - Display errors in a page for the XINS front-end framework.
    - Various improvements when importing a WSDL file.
    - New 'tests' target to execute all your tests at once.

    http://xins.sourceforge.net/

    Please find below the complete list of changes.

    CHANGES INTRODUCED IN XINS 2.0 ALPHA 6:

    * XINS/Java Common Library:
      - Fixed the incorrect cause was set for the CallException (it was the cause
        of the cause).
      - Clarified the message showed when a CallException is thrown.
      - Simplified the output when describing the HTTPCallRequest.
      - Simplified description of the call configurations.
      - The CallConfig classes are no longer Thread safe.
      - Removed unneeded comments.
      - Moved createPattern method from TextUtils to PatternUtils. The
        HungarianMapperTask won't then fail because of missing oro library.
      - Moved the class fields before the constructor.
      - Moved the static methods after the constructor.

    * XINS/Java Server Framework:
      - Added a new bootstrap property to specify an error page when the
        XSLT transformation fails in the XINS FF.
      - A default error message is displayed when the XSLT transformation fails
        in the XINS FF.
      - Fixed the template for the Control command was not cached in the XINS FF.
      - The call target is no longer required for a CallException.
      - The value of an invalid value for type error is now returned in the
        message.
      - Fixed possible error if the function is empty.
      - Removed unneeded comments.
      - Moved the class fields before the constructor.
      - Moved the static methods after the constructor.

    * XINS/Java Client Framework:
      - The UnacceptableRequestException now extends XINSCallException instead
        of RuntimeException.
      - Added new UnacceptableMessageException which is used for invalid messages.
      - If value is invalid, the invalid value is also given in the message.
      - Simplified the output when describing the XINSCallRequest.
      - Simplified description of the XINS call config.
      - The XINSCallConfig class is no longer Thread safe.
      - Removed unneeded comments.
      - Moved the class fields before the constructor.
      - Moved the static methods after the constructor.

    * Generation of client-side Java code:
      - Used the UnacceptableMessageException when an invalid result is received.
      - If any of the specification files change, the CAPI.java should be
        regenerated.
      - Fixed possible compilation error for list or set of primitive types.

    * Generation of the Java types:
      - Added fromStringForRequired and fromStringForOptional for list and set
        types.

    * Generation of the API from the WSDL:
      - If the WSDL parameter is all uppercase, the variable will be all lowercase.
      - Process smart hungarian lower to parameter names.
        e.g. HTTPInfo -> httpInfo.
      - Added support of reference to another complex type or to an element from
        an element.
      - Fixed the XML Schema 's:' was not extended to 'xsd:'.
      - Fixed the wsdl directory is created if it didn't exists when importing
        from an URL.
      - Unbounded elements are put in the data section.
      - Added support for XML Schema list type.
      - Improved detection of XML Schema types.
      - Unbounded elements using defined xsd types or simpleTypes are considered
        as a list.
      - Avoid duplication in function names.

    * Generated build file:
      - Added new 'tests' target that runs the tests of all the APIs that have
        tests.

    * XSLT:
      - Removed unneeded comments.
      - Moved the class fields before the constructor.
      - Moved the static methods after the constructor.
      - The underscore should not be skipped when changing a text to the
        hungarian convention.

    * Tools:
      - Added Jetty plug-in and name of the WAR file to the Maven pom.xml.
      - Load the build.properties in the -init-tools target.
      - Renamed target tools to help-tools.
      - Added required and optional build properties to run the tools.
      - Use builddir variable to specify the build directory in tools.xslt.

    * Build- and release-process:
      - Disabled ftp upload for the exe file.

    * Examples:
      - Removed unneeded comments.
      - Moved the class fields before the constructor.