<!--
 -  
 -  This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
 -  project.
 -  
 -  Copyright (C) 1998-2018 OpenLink Software
 -  
 -  This project is free software; you can redistribute it and/or modify it
 -  under the terms of the GNU General Public License as published by the
 -  Free Software Foundation; only version 2 of the License, dated June 1991.
 -  
 -  This program is distributed in the hope that it will be useful, but
 -  WITHOUT ANY WARRANTY; without even the implied warranty of
 -  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 -  General Public License for more details.
 -  
 -  You should have received a copy of the GNU General Public License along
 -  with this program; if not, write to the Free Software Foundation, Inc.,
 -  51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 -  
 -  
-->
<?xml version="1.0" encoding="ISO-8859-1"?>
<refentry id="SO-S-15">
  <refmeta>
    <refentrytitle>SOAP</refentrytitle>
    <refmiscinfo>tutorial</refmiscinfo>
  </refmeta>
  <refnamediv>
    <refname>SOAP &amp; WSDL</refname>
    <refpurpose>Exchange Rate Conversion service</refpurpose>
  </refnamediv>

<refsect1 id="SO-S-15a">
<title>Exchange Rate Conversion Example</title>
<itemizedlist mark="bullet">
  <listitem><para>
  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.
  </para></listitem>
  
  <listitem><para>
  The example defines the following service descriptions and links:
  </para>
   <itemizedlist mark="bullet">
  
  <listitem><para>
  A SOAP directory of 'exchange' for describing exch's procedures. The
  WSDL file will be located at
  http://hostname:[port]/exchange/services.wsdl
  </para></listitem>
  
  <listitem><para>
  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.
  </para></listitem>
  </itemizedlist> 
  </listitem>

  <listitem><para>
  Note: loading the exchange.sql file will take some time, as it
  accesses a foreign host.
  </para></listitem>

</itemizedlist> 
</refsect1>
</refentry>
