<?xml version="1.0" encoding="UTF-8"?>
<!--
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License, as published by the Free Software Foundation and
* available at http://www.fsf.org/licensing/licenses/lgpl.html,
* version 2.1 or above.
*
* 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 Lesser General Public License for more details.
*
* Copyright (c) 2001-2010 StrongAuth, Inc.
*
* $Date: 2010-05-19 20:41:14 -0700 (Wed, 19 May 2010) $
* $Revision: 34 $
* $Author: anoor $
* $URL: https://svn.strongauth.com:9443/repos/topaz/trunk/strongkeyliteClient/src/com/strongauth/strongkeylite/xml/SKLES-EncryptionService.wsdl $
*
*************************************************
*
*  888b    888          888
*  8888b   888          888
*  88888b  888          888
*  888Y88b 888  .d88b.  888888  .d88b.  .d8888b
*  888 Y88b888 d88""88b 888    d8P  Y8b 88K
*  888  Y88888 888  888 888    88888888 "Y8888b.
*  888   Y8888 Y88..88P Y88b.  Y8b.          X88
*  888    Y888  "Y88P"   "Y888  "Y8888   88888P'
*
*************************************************
*
* The web-service description language of the SOAP-based services 
* supported by the SKLES appliance.  In this release an "encrypt",
* "decrypt" and "delete" web-services are supported by this appliance.
-->


<!--definitions targetNamespace="http://web.strongkeylite.strongauth.com/" name="EncryptionService"-->
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
             name="EncryptionService"
             targetNamespace="http://web.strongkeylite.strongauth.com/"
             xmlns:tns="http://web.strongkeylite.strongauth.com/"
             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">

    <!-- The XMLSchema types used by this web-service -->
    <types>
        <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                    targetNamespace="http://web.strongkeylite.strongauth.com/">
            <xsd:import namespace="http://web.strongkeylite.strongauth.com/"
                        schemaLocation="http://www.strongauth.com/xml/SKLES-EncryptionService.xsd"/>
        </xsd:schema>
    </types>

    <!-- The decryption web-service and its parameters -->
    <message name="decrypt">
        <part name="parameters" element="tns:decrypt"/>
    </message>

    <!-- The "success" response to the decryption web-service -->
    <message name="decryptResponse">
        <part name="parameters" element="tns:decryptResponse"/>
    </message>

 <!-- The deletion web-service and its parameters -->
    <message name="delete">
        <part name="parameters" element="tns:delete"/>
    </message>

    <!-- The "success" response to the deletion web-service -->
    <message name="deleteResponse">
        <part name="parameters" element="tns:deleteResponse"/>
    </message>

    <!-- The encryption web-service and its parameters -->
    <message name="encrypt">
        <part name="parameters" element="tns:encrypt"/>
    </message>

    <!-- The "success" response to the encryption web-service -->
    <message name="encryptResponse">
        <part name="parameters" element="tns:encryptResponse"/>
    </message>

    <!-- The "failure" response to any of the web-services -->
    <message name="StrongKeyLiteException">
        <part name="fault" element="tns:StrongKeyLiteException"/>
    </message>

    <!-- The web-service port and operations it supports -->
    <portType name="Encryption">
        <operation name="decrypt">
            <input message="tns:decrypt"/>
            <output message="tns:decryptResponse"/>
            <fault message="tns:StrongKeyLiteException" name="StrongKeyLiteException"/>
        </operation>
        <operation name="delete">
            <input message="tns:delete"></input>
            <output message="tns:deleteResponse"></output>
            <fault message="tns:StrongKeyLiteException" name="StrongKeyLiteException"/>
        </operation>
        <operation name="encrypt">
            <input message="tns:encrypt"/>
            <output message="tns:encryptResponse"/>
            <fault message="tns:StrongKeyLiteException" name="StrongKeyLiteException"/>
        </operation>
    </portType>

    <!-- The binding element of the web-service -->
    <binding name="EncryptionPortBinding" type="tns:Encryption">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>

        <operation name="decrypt">
            <soap:operation soapAction=""/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
            <fault name="StrongKeyLiteException">
                <soap:fault name="StrongKeyLiteException" use="literal"/>
            </fault>
        </operation>

        <operation name="delete">
            <soap:operation soapAction=""/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
            <fault name="StrongKeyLiteException">
                <soap:fault name="StrongKeyLiteException" use="literal"/>
            </fault>
        </operation>

        <operation name="encrypt">
            <soap:operation soapAction=""/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
            <fault name="StrongKeyLiteException">
                <soap:fault name="StrongKeyLiteException" use="literal"/>
            </fault>
        </operation>
    </binding>

    <!-- Finally, the actual web-service definition; this points to the demo
         server on strongauth.com.  Actual implementations will be using
         their own WSDL elements with their own hostname/port numbers -->
    <service name="EncryptionService">
        <port name="EncryptionPort" binding="tns:EncryptionPortBinding">
            <soap:address location="https://atlas.notohome.net:8181/strongkeyliteWAR/EncryptionService"/>
        </port>
    </service>

</definitions>