Configuring an External Application

Create a separate application configuration (xcf) file for each application.

Because the application and configuration file share the same name, there is no need to specify the Id attribute. In the following example, if the file was named "Calculator.xcf, then this configuration file would accomplish the same task as when included in the GAS configuration file; the only differences between this example and Example 1 are the lack of the Id attribute and the reference to the XML schema.

Example Calculator.xcf

<APPLICATION Parent="ws.default"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation="http://www.4js.com/ns/gas/2.50/cfextws.xsd">
  <EXECUTION>
    <PATH>$(res.path.fgldir.demo)/WebServices/calculator/server</PATH>
    <MODULE>calculatorServer</MODULE>
  </EXECUTION>
</APPLICATION>

This example file can be found in $FGLDIR/demo/WebServices. In conjunction with the Group example definition, to access to the WSDL of this demo, you can use this kind of url: http://appserver:6394/ws/r/demo/calculator?WSDL