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

    Copyright (c) 1997, 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:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlsoap.org/Ping" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsap="http://www.w3.org/2006/05/addressing/wsdl" 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/">
	<wsdl:types>
		<xsd:schema targetNamespace="http://xmlsoap.org/Ping/Imports">
			<xsd:import schemaLocation="Service_schema.xsd" namespace="http://xmlsoap.org/Ping"/>
		</xsd:schema>
	</wsdl:types>
	<wsp:Policy wsu:Id="SecureConversation_UserNameOverTransport_IPingService_policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
		<wsp:ExactlyOne>
			<wsp:All>
				<sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
					<wsp:Policy>
						<sp:TransportToken>
							<wsp:Policy>
								<sp:HttpsToken RequireClientCertificate="false"/>
							</wsp:Policy>
						</sp:TransportToken>
						<sp:AlgorithmSuite>
							<wsp:Policy>
								<sp:Basic256/>
							</wsp:Policy>
						</sp:AlgorithmSuite>
						<sp:Layout>
							<wsp:Policy>
								<sp:Lax/>
							</wsp:Policy>
						</sp:Layout>
						<sp:IncludeTimestamp/>
					</wsp:Policy>
				</sp:TransportBinding>
				<sp:EndorsingSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
					<wsp:Policy>
						<sp:SecureConversationToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
							<wsp:Policy>
								<sp:BootstrapPolicy>
									<wsp:Policy>
										<sp:SignedParts>
											<sp:Body/>
											<sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/>
											<sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing"/>
											<sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing"/>
											<sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing"/>
											<sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing"/>
											<sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing"/>
											<sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing"/>
										</sp:SignedParts>
										<sp:EncryptedParts>
											<sp:Body/>
										</sp:EncryptedParts>
										<sp:TransportBinding>
											<wsp:Policy>
												<sp:TransportToken>
													<wsp:Policy>
														<sp:HttpsToken RequireClientCertificate="false"/>
													</wsp:Policy>
												</sp:TransportToken>
												<sp:AlgorithmSuite>
													<wsp:Policy>
														<sp:Basic256/>
													</wsp:Policy>
												</sp:AlgorithmSuite>
												<sp:Layout>
													<wsp:Policy>
														<sp:Strict/>
													</wsp:Policy>
												</sp:Layout>
												<sp:IncludeTimestamp/>
											</wsp:Policy>
										</sp:TransportBinding>
										<sp:SignedSupportingTokens>
											<wsp:Policy>
												<sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
													<wsp:Policy>
														<sp:WssUsernameToken10/>
													</wsp:Policy>
												</sp:UsernameToken>
											</wsp:Policy>
										</sp:SignedSupportingTokens>
										<sp:Wss11>
											<wsp:Policy>
												<sp:MustSupportRefKeyIdentifier/>
												<sp:MustSupportRefIssuerSerial/>
												<sp:MustSupportRefThumbprint/>
												<sp:MustSupportRefEncryptedKey/>
											</wsp:Policy>
										</sp:Wss11>
										<sp:Trust10>
											<wsp:Policy>
												<sp:MustSupportIssuedTokens/>
												<sp:RequireClientEntropy/>
												<sp:RequireServerEntropy/>
											</wsp:Policy>
										</sp:Trust10>
									</wsp:Policy>
								</sp:BootstrapPolicy>
							</wsp:Policy>
						</sp:SecureConversationToken>
					</wsp:Policy>
				</sp:EndorsingSupportingTokens>
				<sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
					<wsp:Policy>
						<sp:MustSupportIssuedTokens/>
						<sp:RequireClientEntropy/>
						<sp:RequireServerEntropy/>
					</wsp:Policy>
				</sp:Trust10>
				<wsap:UsingAddressing/>
				<sc:ValidatorConfiguration wspp:visibility="private" xmlns:wspp="http://java.sun.com/xml/ns/wsit/policy" xmlns:sc="http://schemas.sun.com/2006/03/wss/server">
					<sc:Validator name="usernameValidator" classname="common.SampleUsernamePasswordValidator"/>
				</sc:ValidatorConfiguration>
			</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="#SecureConversation_UserNameOverTransport_IPingService_policy"/>
		<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 name="PingRequest">
				<soap12:body use="literal"/>
			</wsdl:input>
			<wsdl:output name="PingResponse">
				<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/XC"/>
		</wsdl:port>
	</wsdl:service>
</wsdl:definitions>

