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. To interact with the Calculator Web service, start an application that uses it by performing the following steps:
    1. In a browser tab enter the address of the demo applications, http://localhost:6394/ua/r/gwc-demo.
    2. 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 URL field select the URL stating http://localhost:6394/ws/r/demo/Calculator.
    3. Click OK.
      You should see a calculator screen and be able to interact with it.