Introduction

The main purpose of this project is to give a generic Dynamic Web Service Invocation Framework using AJAX. This has been used in WSO2 WSAS and WSO2 ESB successfully.

Integration

When the server starts up an xml file ui-extensions-config.xml has to be in the classpath. This file has the following main parts,

    <extension-config>
        <description>Description of the Project</description>

        <welcome-file>index.html</welcome-file>

        <file-mappings>
            <mapping>
                <token>@menu.items@</token>
                <file>menu.html</file>
            </mapping>
            <mapping>
                <token>@div.items@</token>
                <file>divs.html</file>
            </mapping>
            <mapping>
                <token>@css.file.items@</token>
                <file>css.html</file>
            </mapping>
            <mapping>
                <token>@js.file.items@</token>
                <file>js.html</file>
            </mapping>
            <mapping>
                <token>@promotion.content@</token>
                <file>promotion.html</file>
            </mapping>
         </file-mappings>

        <extension-order>
            <item>core</item>
        </extension-order>
    </extension-config>

- The index.html that provide with this is a template. It has above mention <tokens/> and they should be filled with <file/>.
- When copying to the actual location one has to write the filters for server.name and server.short.name.
- In your project you have to write showHome() javascript.
- GLOBAL_SERVICE_STRING has to be provided ??
- isServerRegistered in GlobalAdmin need to be set [registration] ????

ss