Explore Genero demo Web services (server side)

You can explore the Web services that the GAS can deliver by launching demo applications that invoke them.

  1. Start the standalone dispatcher from the command line, for details about starting httpdispatch see Dispatcher: httpdispatch.
  2. To show for example that the Web service called Calculator is working, you can retrieve its Web Service Description Location (WSDL)
    Enter the address http://localhost:6394/ws/r/demo/Calculator?WSDL in a browser
    Note: The WSDL provides you with details such as the address of the service. For more information on WSDL, please see the Genero Business Development Language User Guide.
    <?xml version="1.0" encoding="UTF-8" ?>
    -<wsdl:definitions targetNamespace="http://tempuri.org/" name="Calculator" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:fjs="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    ...
     <wsdl:service name="Calculator">
      <wsdl:port name="CalculatorPortType" binding="fjs:CalculatorBinding">
        <soap:address location="http://localhost:6394/ws/r/demo/Calculator"/>
      </wsdl:port>
      <wsdl:port name="CalculatorPortTypeSoap12" binding="fjs:CalculatorBindingSoap12">
        <soap12:address location="http://localhost:6394/ws/r/demo/Calculator"/>
      </wsdl:port>
     </wsdl:service>
    </wsdl:definitions>
  3. Start an application that uses the Calculator Web service by performing the following steps:
    1. Now that the GWS has started the Web service, return to the Demos tab of your browser. In the Topic tree, navigate to WebServices >> Calculator >> Client. Double-click on the demo Calculator Soap 1.2.
      The Web Services URL dialog appears. From the drop down menu select the URL stating http://localhost:6394/ws/r/demo/Calculator.
    2. In the Web Services URL dialog, click OK.
      You should see a calculator screen and be able to interact with it.