<!--
 -  
 -  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-17">
  <refmeta>
    <refentrytitle>SOAP</refentrytitle>
    <refmiscinfo>tutorial</refmiscinfo>
  </refmeta>
  <refnamediv>
    <refname>SOAP &amp; WSDL service</refname>
    <refpurpose>Email Address Validation Service</refpurpose>
  </refnamediv>

<refsect1 id="SO-S-17a">
<title>Example overview</title>
<para>This example demonstrates:</para>
<itemizedlist mark="bullet">
  <listitem>
  The use of raw TCP session operations: ses_connect(), ses_disconnect(), ses_read_line(), ses_write().
  </listitem>
  <listitem>A SOAP call.
  </listitem>
  <listitem>
  Using the SMTP protocol for email verification.
  </listitem>
  <listitem>
  Processing the results with an XSL-T engine.
  </listitem>
</itemizedlist>
</refsect1>

<refsect1 id="SO-S-17b">
<title>Example Setup</title>
<para>The service is prepared by loading the SQL file.
This performs the following:</para>
<itemizedlist mark="bullet">
  <listitem>
  Define a stored procedure for the SOAP service that opens a TCP session,
  and makes a SMTP exchange without sending a mail body to the server.
  Read responses from the server and makes an XML document.
  </listitem>
  <listitem>
  The SOAP service is achieved by defining the /email_service URL to
  have same functionality as using soap_server() function call.
  </listitem>
</itemizedlist>
</refsect1>

</refentry>
