<?xml version="1.0" encoding="UTF-8"?>
<!-- 
Legal Disclaimer

The presentation, distribution or other dissemination of the information 
contained in this document is not a license, either expressly or impliedly, 
to any intellectual property owned or controlled by IBM or Microsoft or RSA or VeriSign and\or any other 
third party.  IBM and Microsoft and RSA and VeriSign and\or any other third party may have patents, patent 
applications, trademarks, copyrights, or other intellectual property rights 
covering subject matter in this document.  The furnishing of this document 
does not give you any license to IBM's and Microsoft's and RSA's and VeriSign or any other third party's patents, 
trademarks, copyrights, or other intellectual property.

This document and the information contained herein is provided on an "AS IS"
 basis and to the maximum extent permitted by applicable law, IBM and Microsoft and RSA and VeriSign provides 
the document AS IS AND WITH ALL FAULTS, and hereby disclaims all other warranties 
and conditions, either express, implied or statutory, including, but not limited 
to, any (if any) implied warranties, duties or conditions of merchantability, of 
fitness for a particular purpose, of accuracy or completeness of responses, of 
results, of workmanlike effort, of lack of viruses, and of lack of negligence, 
all with regard to the document. ALSO, THERE IS NO WARRANTY OR CONDITION OF 
TITLE, QUIET ENJOYMENT, QUIET POSSESSION, CORRESPONDENCE TO DESCRIPTION OR 
NON-INFRINGEMENT OF ANY INTELLECTUAL PROPERTY RIGHTS WITH REGARD TO THE DOCUMENT.

IN NO EVENT WILL IBM or MICROSOFT or RSA or VeriSign BE LIABLE TO ANY OTHER PARTY FOR THE COST OF PROCURING 
SUBSTITUTE GOODS OR SERVICES, LOST PROFITS, LOSS OF USE, LOSS OF DATA, OR ANY 
INCIDENTAL, CONSEQUENTIAL, DIRECT, INDIRECT, OR SPECIAL DAMAGES WHETHER UNDER 
CONTRACT, TORT, WARRANTY, OR OTHERWISE, ARISING IN ANY WAY OUT OF THIS OR ANY 
OTHER AGREEMENT RELATING TO THIS DOCUMENT, WHETHER OR NOT SUCH PARTY HAD ADVANCE 
NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.

Copyright Notice

Copyright 2001-2002 IBM Corporation and Microsoft Corporation and RSA Security Inc. and VeriSign. All rights reserved.
-->

<wsdl:definitions 
    targetNamespace="http://schemas.xmlsoap.org/ws/2002/12/secext" 
    xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" 
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
<!-- this is the WS-I BP-compliant way to import a schema -->
	<wsdl:types>
	    <xs:schema>
	        <xs:import namespace="http://schemas.xmlsoap.org/ws/2002/12/secext" schemaLocation="secext.xsd"/>
	    </xs:schema>
	</wsdl:types>
	
<!-- WS-Trust defines exactly two GEDs, here they are -->
	<wsdl:message name="RequestSecurityTokenMsg">
		<wsdl:part name="request" element="wsse:RequestSecurityToken" />
	</wsdl:message>
	<wsdl:message name="RequestSecurityTokenResponseMsg">
		<wsdl:part name="response" element="wsse:RequestSecurityTokenResponse" />
	</wsdl:message>
	
<!-- This portType models the full request/response the Security Token Service:

         request        |        request       |       req/challenge       | 
     A  ==========> B   |   A  ==========> B   |   A  ===============> B   |  
         response       |       challenge      |       chall/answer        |
       <==========      |     <==========      |     <===============      |   . . . 
                        |        answer        |          answer           |
                        |      ==========>     |      ===============>     |
                        |       response       |         response          |
                        |     <==========      |     <===============      |  
 -->	
        
        <wsdl:portType name="WSSecurityRequester">
	        <wsdl:operation name="SecurityTokenResponse">
		        <wsdl:input message="wsse:RequestSecurityTokenResponseMsg"/>
	        </wsdl:operation>
	        <wsdl:operation name="Challenge">
		        <wsdl:input message="wsse:RequestSecurityTokenResponseMsg"/>
		        <wsdl:output message="wsse:RequestSecurityTokenResponseMsg"/>
	        </wsdl:operation>
        </wsdl:portType>
	
<!-- These portTypes model the individual message exchanges -->	
	
	<wsdl:portType name="SecurityTokenRequestService">
	        <wsdl:operation name="RequestSecurityToken">
		        <wsdl:input message="wsse:RequestSecurityTokenMsg"/>
	        </wsdl:operation>
        </wsdl:portType>

        <wsdl:portType name="SecurityTokenService">
	        <wsdl:operation name="RequestSecurityToken">
		        <wsdl:input message="wsse:RequestSecurityTokenMsg"/>
		        <wsdl:output message="wsse:RequestSecurityTokenResponseMsg"/>
	        </wsdl:operation>
        </wsdl:portType>
</wsdl:definitions>
