Daily Archives: September 23, 2005

Re-watching Mark Fussell on WSE 3.0

Although I missed Mark’s talk at PDC last Friday, I was still highly entertained by watching (again) his WSE 3 Overview talk from the WSE 3 SDRs. Mark has a lot of fun acting out many messaging scenarios such as timing out a telephone conversation with his mother to demonstrate a new feature for SecureConversation. It may seem silly, but he has great methods of taking concepts that may be confusing and putting them into a context that many people can understand. You can watch this video yourself. There are a bunch of them on the home page of the Web Services Developer Center.

I am giving a similar talk Sunday at Code Camp and then at TechEd South Africa and once more at DevConnections. Mark is a tough act to follow. Being the pm on the WSE team and having a serious background in XML, he knows this stuff inside and out.



Don’t Forget: www.acehaid.org

PDC Day Four

Often, the last day of a conference is a real downer – the expo hall is gone, people have already started leaving. But for me and many, the conference was still in full swing. I had two must-see sessions to attend in the morning. The first was by WSE P.M. Mark Fussell on interoping Indigo and WSE 3.0 messages. The second was a 400 level session by ADO.NET P.M. Pablo Castro on Advanced Data Access Patterns in ADO.NET 2.0.

As the previous day’s first session was 10am I had it in my head that the Mark’s talk was at 10am, so I was really frustrated at 9:30am when I was still packing up my things in the hotel room to realize that his talk started at 8:30. Uggh. Luckily I was able to catch up with Mark later who [read more…]

[A DevLife post]

Don’t Forget: www.acehaid.org

Trying out some Hands on Labs from PDC

One thing I love to do at conferences is the Hands on Labs. There is no email or i.m. or phone to interrupt you while you are working. Unfortunately, I didn’t get a chance to do them this time around while at PDC, but I did do some of them when I got home, in preparation for a talk titled “What I saw at PDC” that I gave at my user group (Vermont.NET) on Monday night. The two sets of labs that I did were for LINQ and for Atlas – two technologies that I am *really* excited about. [read more …]

[A DevLife post]

Don’t Forget: www.acehaid.org

Okay, so now am I cool?

The guy in the store who had to explain to me how downloading music works didn’t think I was very cool. But I have a 4GB Nano now. Now all I need is a nice soft little “wallet” for it. The nice thing is that there is a very cool Apple shop near where I live – over the mountain in Waitsfield, named Small Dog Electronics. They have also become a big online store, but their retail store is. I felt a bit like an alien in there, not only because I’m a bit of a microsoft geek, but I have BIG dogs.

Don’t Forget: www.acehaid.org

WSE3 Tracing Info

I have been meaning to mention how cool and informative the info is in the WSE3 trace files. Not only does it show you the soap, but leaves a step by step trail of processing. Here is a sample file from a simple HelloWorld request being made from a client using a UsernameoverX09 policy asserstion.

<?xml version=”1.0″ encoding=”utf-8″?>
<log>
  <outputMessage utc=”9/23/2005 7:04:53 PM”>
    <processingStep description=”Unprocessed message”>
      <soap:Envelope xmlns:soap=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema“>
        <soap:Body>
          <HelloWorld xmlns=”http://tempuri.org/” />
        </soap:Body>
      </soap:Envelope>
    </processingStep>
    <processingStep description=”Entering soap filter Microsoft.Web.Services3.Design.UsernameOverCertificateAssertion+ClientOutputFilter” />
    <processingStep description=”Exited soap filter Microsoft.Web.Services3.Design.UsernameOverCertificateAssertion+ClientOutputFilter” />
    <processingStep description=”Processed message”>
      <soap:Envelope xmlns:soap=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema” xmlns:wsa=”http://schemas.xmlsoap.org/ws/2004/08/addressing” 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:Header>
          <wsa:Action wsu:Id=”Id-3055d475-5038-45ae-9909-d7feb1241b7b”>http://tempuri.org/HelloWorld</wsa:Action>
          <wsa:MessageID wsu:Id=”Id-bc312d98-8815-4c65-a015-2cf87409140c”>uuid:80c57c6f-7226-49a6-95ba-51c160841d30</wsa:MessageID>
          <wsa:ReplyTo wsu:Id=”Id-d3c52946-1153-4ef6-85df-4e80506bb0a2″>
            <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
          </wsa:ReplyTo>
          <wsa:To wsu:Id=”Id-047058e6-d0e9-4592-8d10-2df4cd13d976″>http://localhost:1624/WSE3_Demo2_Service/Service.asmx</wsa:To>
          <wsse:Security soap:mustUnderstand=”1″>
            <wsu:Timestamp wsu:Id=”Timestamp-71acb0d5-9d5c-4d6d-beba-585045011528″>
              <wsu:Created>2005-09-23T19:04:53Z</wsu:Created>
              <wsu:Expires>2005-09-23T19:09:53Z</wsu:Expires>
            </wsu:Timestamp>
            <xenc:EncryptedKey Id=”SecurityToken-2eb49508-1d19-4dc8-ac98-df6037e4dce3″ xmlns:xenc=”http://www.w3.org/2001/04/xmlenc#”>
              <xenc:EncryptionMethod Algorithm=”http://www.w3.org/2001/04/xmlenc#rsa-1_5” />
              <KeyInfo xmlns=”http://www.w3.org/2000/09/xmldsig#”>
                <wsse:SecurityTokenReference>
                  <wsse:KeyIdentifier ValueType=”http://docs.oasis-open.org/wss/2004/xx/oasis-2004xx-wss-x509-token-profile-1.1#X509ThumbprintSHA1” EncodingType=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary”>h9ksyrcUww2w4LrmubC2W11t988=</wsse:KeyIdentifier>
                </wsse:SecurityTokenReference>
              </KeyInfo>
              <xenc:CipherData>
                <xenc:CipherValue>(this goes on for a while…) Udj=</xenc:CipherValue>
              </xenc:CipherData>
            </xenc:EncryptedKey>
            <wssc:DerivedKeyToken wsu:Id=”SecurityToken-a4ae21b8-bdab-4011-a7b2-c5e8f65bae44″ Algorithm=”http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1” xmlns:wssc=”http://schemas.xmlsoap.org/ws/2005/02/sc“>
              <wsse:SecurityTokenReference>
                <wsse:Reference URI=”#SecurityToken-2eb49508-1d19-4dc8-ac98-df6037e4dce3″ ValueType=”http://docs.oasis-open.org/wss/2005/xx/oasis-2005xx-wss-soap-message-security-1.1#EncryptedKey” />
              </wsse:SecurityTokenReference>
              <wssc:Generation>0</wssc:Generation>
              <wssc:Length>16</wssc:Length>
              <wssc:Label>WS-SecureConversationWS-SecureConversation</wssc:Label>
              <wssc:Nonce>0waVpgMtJcwLe6nu2EJfWA==</wssc:Nonce>
            </wssc:DerivedKeyToken>
            <xenc:ReferenceList xmlns:xenc=”http://www.w3.org/2001/04/xmlenc#”>
              <xenc:DataReference URI=”#EncryptedData-95a05b43-87ff-4265-8220-0b0301998d5c” />
            </xenc:ReferenceList>
            <xenc:ReferenceList xmlns:xenc=”http://www.w3.org/2001/04/xmlenc#”>
              <xenc:DataReference URI=”#EncryptedData-474cdefc-1a57-4848-9d3b-195021ac5f88″ />
            </xenc:ReferenceList>
            <xenc:EncryptedData Id=”EncryptedData-474cdefc-1a57-4848-9d3b-195021ac5f88″ Type=”http://www.w3.org/2001/04/xmlenc#Element” xmlns:xenc=”http://www.w3.org/2001/04/xmlenc#”>
              <xenc:EncryptionMethod Algorithm=”http://www.w3.org/2001/04/xmlenc#aes128-cbc” />
              <KeyInfo xmlns=”http://www.w3.org/2000/09/xmldsig#”>
                <wsse:SecurityTokenReference>
                  <wsse:Reference URI=”#SecurityToken-a4ae21b8-bdab-4011-a7b2-c5e8f65bae44″ ValueType=”http://schemas.xmlsoap.org/ws/2005/02/sc/dk” />
                </wsse:SecurityTokenReference>
              </KeyInfo>
              <xenc:CipherData>
                <xenc:CipherValue> (this goes on for a while…) =</xenc:CipherValue>
              </xenc:CipherData>
            </xenc:EncryptedData>
            <wssc:DerivedKeyToken wsu:Id=”SecurityToken-ef9f2efd-b777-4288-9a93-f7b24b9eb083″ Algorithm=”http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1” xmlns:wssc=”http://schemas.xmlsoap.org/ws/2005/02/sc“>
              <wsse:SecurityTokenReference>
                <wsse:Reference URI=”#SecurityToken-2eb49508-1d19-4dc8-ac98-df6037e4dce3″ ValueType=”http://docs.oasis-open.org/wss/2005/xx/oasis-2005xx-wss-soap-message-security-1.1#EncryptedKey” />
              </wsse:SecurityTokenReference>
              <wssc:Generation>0</wssc:Generation>
              <wssc:Length>16</wssc:Length>
              <wssc:Label>WS-SecureConversationWS-SecureConversation</wssc:Label>
              <wssc:Nonce>+G94xbAd/DYLEKwIvHIdTA==</wssc:Nonce>
            </wssc:DerivedKeyToken>
            <Signature xmlns=”http://www.w3.org/2000/09/xmldsig#”>
              <SignedInfo>
                <ds:CanonicalizationMethod Algorithm=”http://www.w3.org/2001/10/xml-exc-c14n#” xmlns:ds=”http://www.w3.org/2000/09/xmldsig#” />
                <SignatureMethod Algorithm=”http://www.w3.org/2000/09/xmldsig#hmac-sha1” />
                <Reference URI=”#SecurityToken-6d4fff15-de0b-449d-ab5e-47ac5f5b4592″>
                  <Transforms>
                    <Transform Algorithm=”http://www.w3.org/2001/10/xml-exc-c14n#” />
                  </Transforms>
                  <DigestMethod Algorithm=”http://www.w3.org/2000/09/xmldsig#sha1” />
                  <DigestValue>XOXZQd6B320w7VI/HbimntQgLI0=</DigestValue>
                </Reference>
                <Reference URI=”#Id-3055d475-5038-45ae-9909-d7feb1241b7b”>
                  <Transforms>
                    <Transform Algorithm=”http://www.w3.org/2001/10/xml-exc-c14n#” />
                  </Transforms>
                  <DigestMethod Algorithm=”http://www.w3.org/2000/09/xmldsig#sha1” />
                  <DigestValue>1kE5FH5eNF4vkBKNE9o0/vCJvks=</DigestValue>
                </Reference>
                <Reference URI=”#Id-bc312d98-8815-4c65-a015-2cf87409140c”>
                  <Transforms>
                    <Transform Algorithm=”http://www.w3.org/2001/10/xml-exc-c14n#” />
                  </Transforms>
                  <DigestMethod Algorithm=”http://www.w3.org/2000/09/xmldsig#sha1” />
                  <DigestValue>t/FJbUnIn0gLqoLt6eMRTFOTI/Q=</DigestValue>
                </Reference>
                <Reference URI=”#Id-d3c52946-1153-4ef6-85df-4e80506bb0a2″>
                  <Transforms>
                    <Transform Algorithm=”http://www.w3.org/2001/10/xml-exc-c14n#” />
                  </Transforms>
                  <DigestMethod Algorithm=”http://www.w3.org/2000/09/xmldsig#sha1” />
                  <DigestValue>9QxbDw3l7++M8PbJMur9JxcPf4c=</DigestValue>
                </Reference>
                <Reference URI=”#Id-047058e6-d0e9-4592-8d10-2df4cd13d976″>
                  <Transforms>
                    <Transform Algorithm=”http://www.w3.org/2001/10/xml-exc-c14n#” />
                  </Transforms>
                  <DigestMethod Algorithm=”http://www.w3.org/2000/09/xmldsig#sha1” />
                  <DigestValue>9l1Au73puBn71S7N/1XIBe2vRSY=</DigestValue>
                </Reference>
                <Reference URI=”#Timestamp-71acb0d5-9d5c-4d6d-beba-585045011528″>
                  <Transforms>
                    <Transform Algorithm=”http://www.w3.org/2001/10/xml-exc-c14n#” />
                  </Transforms>
                  <DigestMethod Algorithm=”http://www.w3.org/2000/09/xmldsig#sha1” />
                  <DigestValue>Ys2mZfoq7z+Ix/XyIYWTIDUvm28=</DigestValue>
                </Reference>
                <Reference URI=”#Id-8d5987f2-3dd0-41aa-8dc5-5551bc171011″>
                  <Transforms>
                    <Transform Algorithm=”http://www.w3.org/2001/10/xml-exc-c14n#” />
                  </Transforms>
                  <DigestMethod Algorithm=”http://www.w3.org/2000/09/xmldsig#sha1” />
                  <DigestValue>PkZhQS+mXa/s8BC0x09fp7BOeB8=</DigestValue>
                </Reference>
              </SignedInfo>
              <SignatureValue>tJZfFrgNccXPYc91i41uHxdrzXk=</SignatureValue>
              <KeyInfo>
                <wsse:SecurityTokenReference>
                  <wsse:Reference URI=”#SecurityToken-ef9f2efd-b777-4288-9a93-f7b24b9eb083″ ValueType=”http://schemas.xmlsoap.org/ws/2005/02/sc/dk” />
                </wsse:SecurityTokenReference>
              </KeyInfo>
            </Signature>
          </wsse:Security>
        </soap:Header>
        <soap:Body wsu:Id=”Id-8d5987f2-3dd0-41aa-8dc5-5551bc171011″>
          <xenc:EncryptedData Id=”EncryptedData-95a05b43-87ff-4265-8220-0b0301998d5c” Type=”http://www.w3.org/2001/04/xmlenc#Content” xmlns:xenc=”http://www.w3.org/2001/04/xmlenc#”>
            <xenc:EncryptionMethod Algorithm=”http://www.w3.org/2001/04/xmlenc#aes128-cbc” />
            <KeyInfo xmlns=”http://www.w3.org/2000/09/xmldsig#”>
              <wsse:SecurityTokenReference>
                <wsse:Reference URI=”#SecurityToken-a4ae21b8-bdab-4011-a7b2-c5e8f65bae44″ ValueType=”http://schemas.xmlsoap.org/ws/2005/02/sc/dk” />
              </wsse:SecurityTokenReference>
            </KeyInfo>
            <xenc:CipherData>
              <xenc:CipherValue>(this goes on for a while…) ==</xenc:CipherValue>
            </xenc:CipherData>
          </xenc:EncryptedData>
        </soap:Body>
      </soap:Envelope>
    </processingStep>
  </outputMessage>
</log>



Posted from BLInk!