← Prev in month ← Prev in thread

Proposal to close Issue 169

From
Anthony Nadalin <>
Date
2008-07-08T23:20:30+00:00
ID
Thread
Proposal to close Issue 169
Here is a proposal to try to close Issue 169, cleaning up the WSDL and making it BP 1.2 compliant

The WSDL below does not fully capture all the possible message exchange patterns, but captures the typical message exchange pattern as described in this document.

<?xml version="1.0"?>

<wsdl:definitions 

targetNamespace="http://docs.oasis-open.org/ws-sx/ws-trust/200512/wsdl"

xmlns:tns="http://docs.oasis-open.org/ws-sx/ws-trust/200512/wsdl"

xmlns:wst="http://docs.oasis-open.org/ws-sx/ws-trust/200512" 

xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 

xmlns:xs="http://www.w3.org/2001/XMLSchema"

xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"

>

<!-- this is the WS-I BP-compliant way to import a schema -->

<wsdl:types>

<xs:schema>

<xs:import 

namespace="http://docs.oasis-open.org/ws-sx/ws-trust/200512"

schemaLocation="http://docs.oasis-open.org/ws-sx/ws-trust/200512/ws-trust-1.3.xsd"/>

</xs:schema>

</wsdl:types>

<!-- WS-Trust defines the following GEDs -->

<wsdl:message name="RequestSecurityTokenMsg">

<wsdl:part name="request" element="wst:RequestSecurityToken" />

</wsdl:message>

<wsdl:message name="RequestSecurityTokenResponseMsg">

<wsdl:part name="response" 

element="wst:RequestSecurityTokenResponse" />

</wsdl:message>

<wsdl:message name="RequestSecurityTokenCollectionMsg">

<wsdl:part name="requestCollection" 

element="wst:RequestSecurityTokenCollection"/>

</wsdl:message>

<wsdl:message name="RequestSecurityTokenResponseCollectionMsg">

<wsdl:part name="responseCollection" 

element="wst:RequestSecurityTokenResponseCollection"/>

</wsdl:message>

<!-- This portType an example of a Requestor (or other) endpoint that accepts

SOAP-based challenges from a Security Token Service -->

<wsdl:portType name="WSSecurityRequestor">

<wsdl:operation name="Challenge">

<wsdl:input message="tns:RequestSecurityTokenResponseMsg"/>

<wsdl:output message="tns:RequestSecurityTokenResponseMsg"/>

</wsdl:operation>

</wsdl:portType>

<!-- This portType is an example of an STS supporting full protocol -->

<wsdl:portType name="SecurityTokenService">

<wsdl:operation name="Cancel">

<wsdl:input wsam:Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Cancel" message="t:RequestSecurityTokenMsg"/>

<wsdl:output wsam:Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/CancelFinal" message="t:RequestSecurityTokenResponseMsg"/>

</wsdl:operation>

<wsdl:operation name="Issue">

<wsdl:input wsam:Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" message="t:RequestSecurityTokenMsg"/>

<wsdl:output wsam:Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTRC/IssueFinal" message="t:RequestSecurityTokenResponseCollectionMsg"/>

</wsdl:operation>

<wsdl:operation name="Renew">

<wsdl:input wsam:Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Renew" message="t:RequestSecurityTokenMsg"/>

<wsdl:output wsam:Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/RenewFinal" message="t:RequestSecurityTokenResponseMsg"/>

</wsdl:operation>

<wsdl:operation name="Validate">

<wsdl:input wsam:Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Validate" message="t:RequestSecurityTokenMsg"/>

<wsdl:output wsam:Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/ValidateFinal" message="t:RequestSecurityTokenResponseMsg"/>

</wsdl:operation>

<wsdl:operation name="KeyExchangeToken">

<wsdl:input wsam:Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/KET" message="t:RequestSecurityTokenMsg"/>

<wsdl:output wsam:Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/KETFinal" message="t:RequestSecurityTokenResponseMsg"/>

</wsdl:operation>

<wsdl:operation name="RequestCollection">

<wsdl:input message="t:RequestSecurityTokenCollectionMsg"/>

<wsdl:output message="t:RequestSecurityTokenResponseCollectionMsg"/>

</wsdl:operation> 

</wsdl:portType>

<!-- This portType is an example of an endpoint that accepts unsolicited

RequestSecurityTokenResponse messages -->

<wsdl:portType name="SecurityTokenResponseService">

<wsdl:operation name="RequestSecurityTokenResponse">

<wsdl:input message="tns:RequestSecurityTokenResponseMsg"/>

</wsdl:operation>

</wsdl:portType>

</wsdl:definitions>

Anthony Nadalin | Work 512.838.0085 | Cell 512.289.4122
← Prev in month ← Prev in thread