<?xml version="1.0" encoding="utf-8"?>
<!--

    Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.

    This program and the accompanying materials are made available under the
    terms of the Eclipse Distribution License v. 1.0, which is available at
    http://www.eclipse.org/org/documents/edl-v10.php.

    SPDX-License-Identifier: BSD-3-Clause

-->

<wsdl:definitions targetNamespace="http://xmlsoap.org/Ping" 
                  xmlns:tns="http://xmlsoap.org/Ping" 
                  xmlns:wsa="http://www.w3.org/2005/08/addressing" 
                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
                  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
                  xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" 
                  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
                  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
                  xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" 
                  xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" 
                  xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
    
    <wsp:Policy wsu:Id="ClientPolicy" 
                xmlns:sc="http://schemas.sun.com/2006/03/wss/client">
        <wsp:ExactlyOne>
            <wsp:All>
                <sc:CallbackHandlerConfiguration xmlns:sc="http://schemas.sun.com/2006/03/wss/client">
                    <sc:CallbackHandler  name="usernameHandler"  classname="common.SampleUsernamePasswordCallbackHandler"/> 
                    <sc:CallbackHandler  name="passwordHandler"  classname="common.SampleUsernamePasswordCallbackHandler"/>
                </sc:CallbackHandlerConfiguration>
            </wsp:All>
        </wsp:ExactlyOne>
    </wsp:Policy>

    <wsdl:message name="PingRequest">
            <wsdl:part name="Ping" element="q:Ping" xmlns:q="http://xmlsoap.org/Ping"/>
        </wsdl:message>
        <wsdl:message name="PingResponse">
            <wsdl:part name="PingResponse" element="q:PingResponse" xmlns:q="http://xmlsoap.org/Ping"/>
        </wsdl:message>
	<wsdl:portType name="IPingService">
		<wsdl:operation name="Ping">
			<wsdl:input wsa:Action="http://xmlsoap.org/Ping" name="PingRequest" message="tns:PingRequest"/>
			<wsdl:output wsa:Action="http://xmlsoap.org/Ping" name="PingResponse" message="tns:PingResponse"/>
		</wsdl:operation>
	</wsdl:portType>
    
    <wsdl:binding name="PingBinding" type="tns:IPingService"> 
	<wsp:PolicyReference URI="#ClientPolicy"/>
        <soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> 
        <wsdl:operation name="Ping"> 
            <soap12:operation soapAction="http://xmlsoap.org/Ping" style="document"/> 
            <wsdl:input> 
                <soap12:body use="literal"/> 
            </wsdl:input> 
            <wsdl:output> 
                <soap12:body use="literal"/> 
            </wsdl:output> 
        </wsdl:operation>         
    </wsdl:binding> 
    
    <wsdl:service name="PingService"> 
        <wsdl:port name="PingPort" binding="tns:PingBinding"> 
            <soap12:address location="http://192.168.0.3/Security_WsSecurity_Service_Indigo/WSSecureConversation.svc/SecureConversation_MutualCertificate10SignEncrypt"/> 
        </wsdl:port>
    </wsdl:service> 
</wsdl:definitions>
