Sunday, June 19, 2005

Invoking WS-Trust from Indigo

Making a WS-Trust RST Issue call from Indigo is pretty simple. I defined a custom security binding with a endpoint reference and

To do this, I added this to the federationParameters section of a custom binding security element:

<endpoint address="" bindingConfiguration="WSTrustBinding" bindingSectionName="wsProfileBinding"/>

I then reference the binding from my client endpoint reference, and when I invoked my client, it makes this call:

POST /simpleservice HTTP/1.1
Content-Type: application/soap+xml; charset="utf-8" action=""
Content-Length: 1304
Expect: 100-continue
Connection: Keep-Alive

<s:Envelope xmlns:s="" xmlns:a="">
<a:Action s:mustUnderstand="1"></a:Action>
<a:To s:mustUnderstand="1"></a:To>
<t:RequestSecurityToken Context="uuid-58ae93d3-a412-4ee4-97ab-288bc880b35a-2" xmlns:t="">
<t:BinaryExchange ValueType="">TlRMTVNTUAABAAAAt4IY4gAAAAAAAAAAAAAAAAAAAAAFAs4OAAAADw==</t:BinaryExchange>
<wsp:AppliesTo xmlns:wsp="">
<EndpointReference xmlns="" xmlns:xsi="" xmlns:x="">

Looks to be using a web serivce binding of SPNego by default. I wish I had a remote STS to play with...

No comments: