<!--
 -  
 -  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="WS-S-4a">
  <refmeta>
    <refentrytitle>WS Security</refentrytitle>
    <refmiscinfo>tutorial</refmiscinfo>
  </refmeta>
  <refnamediv>
    <refname>Username Signing</refname>
    <refpurpose>Secure SOAP Client using Username and Password for signing</refpurpose>
  </refnamediv>

<refsect1 id="WS-S-4aa">
<title>Example</title>
<itemizedlist mark="bullet">
<listitem>This example demonstrates how to make signed SOAP message.</listitem>
<listitem>The signed message contains Username and password in the Security header.</listitem>
<listitem>In that example no encrypted data is sent.</listitem>
<listitem>The server checks credentials against database users and ensures it's validity.</listitem>
</itemizedlist>

<para>
    To run .NET client using Username signed message, against Virtuoso service you need:
</para>
<itemizedlist mark="bullet">
<listitem>Microsoft WSE 2.0 installed</listitem>
<listitem>Edit the Makefile and specify in CSLIBFLAGS where Microsoft.Web.Services.DLL resides.</listitem>
<listitem>compile the example issuing nmake command in the tutorial/services/ws_s_4a directory.</listitem>
</itemizedlist>

</refsect1>
</refentry>
