SOAP
SO-S-15 SOAP & WSDL
Exchange Rate Conversion service
Exchange Rate Conversion Example
- This example is an exchange calculator in two versions: based on VSP and soap_call() and another AJAX version based on WebService Behaviour. A virtual directory is configured to respond to SOAP service requests, which are handled in the context of the assigned SQL user.
-
The example defines the following service descriptions and links:
- A SOAP directory of 'exchange' for describing exch's procedures. The WSDL file will be located at http://hostname:[port]/exchange/services.wsdl
- The server-based webservices file is exchange_rates.vsp, while the AJAX one is exchange_rates_ajax.html. Click on the 'Run' links to experience the demo.
- Note: loading the exchange.sql file will take some time, as it accesses a foreign host.
| View the source | Action |
|---|---|
| 1. exchange.sql | Set the initial state |
| 2. conversion.vsp | |
| 3. converted_value.xsl | |
| 4. converted_value_ajax.xsl | |
| 5. currency_list.vsp | |
| 6. currency_list.xsl | |
| 7. currency_list_ajax.xsl | |
| 8. exchange_rates.vsp | Run |
| 9. exchange_rates_ajax.html | Run |
OpenLink Home
Technical Support