Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagehtml/xml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
	<soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
		<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" soap:mustUnderstand="1">
			<wsu:Timestamp wsu:Id="TS-1">
				<wsu:Created>2013-04-29T17:47:37.817Z</wsu:Created>
				<wsu:Expires>2013-04-29T17:57:37.817Z</wsu:Expires>
			</wsu:Timestamp>
			<wsse:UsernameToken wsu:Id="UsernameToken-1">
				<wsse:Username>srogers<</wsse:Username>Security>
				<wsse:Password Type="http<wsa:Action>http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password1</wsse:Password>
			</wsse:UsernameToken>
		</wsse:Security>
		<wsa:Action>http/ws-sx/ws-trust/200512/RST/Issue</wsa:Action>
		<wsa:MessageID>uuid:a1bba87b-0f00-46cc-975f-001391658cbe</wsa:MessageID>
		<wsa:To>https://server:8993/services/SecurityTokenService</wsa:To>
	</soap:Header>
	<soap:Body>
		<wst:RequestSecurityToken xmlns:wst="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue</wsa:Action>
		<wsa:MessageID>uuid:a1bba87b-0f00-46cc-975f-001391658cbe</wsa:MessageID>
		<wsa:To>https://server:8993/services/SecurityTokenService</wsa:To>
	</soap:Header>
	<soap:Body>
		<wst:RequestSecurityToken xmlns:wst">
			<wst:SecondaryParameters>
				<t:TokenType xmlns:t="http://docs.oasis-open.org/ws-sx/ws-trust/200512">
			<wst:SecondaryParameters>
				<t:TokenType xmlns:t="http:>http://docs.oasis-open.org/ws-sx/ws-trust/200512">http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0</t:TokenType>
				<t:KeyType xmlns:t="http://docs.oasis-open.org/ws-sx/ws-trust/200512">http://docs.oasis-open.org/ws-sx/ws-trust/200512/Bearer</t:KeyType>
				<t:Claims xmlns:ic="http://schemas.xmlsoap.org/ws/2005/05/identity" xmlns:t="http://docs.oasis-open.org/ws-sx/ws-trust/200512" Dialect="http://schemas.xmlsoap.org/ws/2005/05/identity">
					<!--Add any additional claims you want to grab for the service-->
					<ic:ClaimType Optional="true" Uri="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/uid"/>
					<ic:ClaimType Optional="true" Uri="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/role"/>
					<ic:ClaimType Optional="true" Uri="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier"/>
					<ic:ClaimType Optional="true" Uri="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"/>
					<ic:ClaimType Optional="true" Uri="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname"/>
					<ic:ClaimType Optional="true" Uri="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname"/>
				</t:Claims>
			</wst:SecondaryParameters>
            <wst:OnBehalfOf>
                <wsse:UsernameToken wsu:Id="UsernameToken-1">
				    <wsse:Username>srogers</wsse:Username>
				    <wsse:Password Type="http://schemasdocs.xmlsoapoasis-open.org/wswss/20052004/05/identity/claims/givenname"/>01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password1</wsse:Password>
				    </t:Claims>
			wsse:UsernameToken>
            </wst:SecondaryParameters>OnBehalfOf>
			<wst:RequestType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/Issue</wst:RequestType>
			<wsp:AppliesTo xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
				<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
					<wsa:Address>https://server:8993/services/QueryService</wsa:Address>
				</wsa:EndpointReference>
			</wsp:AppliesTo>
			<wst:Renewing/>
		</wst:RequestSecurityToken>
	</soap:Body>
</soap:Envelope>

...