<s:Envelope xmlns:s=""http://www.w3.org/2003/05/soap-envelope""
xmlns:a=""http://www.w3.org/2005/08/addressing""
xmlns:u=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"">
<s:Header>
<a:Action s:mustUnderstand=""1"">
http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue</a:Action>
<a:MessageID>
urn:uuid:{4:MessageID}</a:MessageID>
<a:ReplyTo>
<a:Address>
http://www.w3.org/2005/08/addressing/anonymous</a:Address>
</a:ReplyTo>
<VsDebuggerCausalityData xmlns=""http://schemas.microsoft.com/vstudio/diagnostics/servicemodelsink"">
uIDPoy9Ez+P/wJdOhoN2XNauvYcAAAAAK0Y6fOjvMEqbgs9ivCmFPaZlxcAnCJ1GiX+Rpi09nSYACQAA</VsDebuggerCausalityData>
<a:To s:mustUnderstand=""1"">
https://login.live.com/liveidSTS.srf</a:To>
<o:Security s:mustUnderstand=""1""
xmlns:o=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"">
<u:Timestamp u:Id=""_0"">
<u:Created>{0:timeCreated}Z</u:Created>
<u:Expires>{1:timeExpires}Z</u:Expires>
</u:Timestamp>
<o:UsernameToken u:Id=""devicesoftware"">
<o:Username>{2:deviceUserName}</o:Username>
<o:Password Type=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"">{3:devicePassword}</o:Password>
</o:UsernameToken>
</o:Security>
</s:Header>
<s:Body>
<t:RequestSecurityToken xmlns:t=""http://schemas.xmlsoap.org/ws/2005/02/trust"">
<wsp:AppliesTo xmlns:wsp=""http://schemas.xmlsoap.org/ws/2004/09/policy"">
<a:EndpointReference>
<a:Address>http://passport.net/tb</a:Address>
</a:EndpointReference>
</wsp:AppliesTo>
<t:RequestType>
http://schemas.xmlsoap.org/ws/2005/02/trust/Issue</t:RequestType>
</t:RequestSecurityToken>
</s:Body>
</s:Envelope>
<s:Envelope xmlns:s=""http://www.w3.org/2003/05/soap-envelope""
xmlns:a=""http://www.w3.org/2005/08/addressing""
xmlns:u=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"">
<s:Header>
<a:Action s:mustUnderstand=""1"">
http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue</a:Action>
<a:MessageID>
urn:uuid:{5:MessageID}</a:MessageID>
<a:ReplyTo>
<a:Address>
http://www.w3.org/2005/08/addressing/anonymous</a:Address>
</a:ReplyTo>
<VsDebuggerCausalityData xmlns=""http://schemas.microsoft.com/vstudio/diagnostics/servicemodelsink"">
uIDPozBEz+P/wJdOhoN2XNauvYcAAAAAK0Y6fOjvMEqbgs9ivCmFPaZlxcAnCJ1GiX+Rpi09nSYACQAA</VsDebuggerCausalityData>
<a:To s:mustUnderstand=""1"">
https://login.live.com/liveidSTS.srf</a:To>
<o:Security s:mustUnderstand=""1""
xmlns:o=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"">
<u:Timestamp u:Id=""_0"">
<u:Created>{0:timeCreated}Z</u:Created>
<u:Expires>{1:timeExpires}Z</u:Expires>
</u:Timestamp>
<o:UsernameToken u:Id=""user"">
<o:Username>{2:UserName}</o:Username>
<o:Password Type=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"">
{3:Password}</o:Password>
</o:UsernameToken>
<wsse:BinarySecurityToken ValueType=""urn:liveid:device""
xmlns:wsse=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"">
<EncryptedData Id=""BinaryDAToken0""
Type=""http://www.w3.org/2001/04/xmlenc#Element""
xmlns=""http://www.w3.org/2001/04/xmlenc#"">
<EncryptionMethod Algorithm=""http://www.w3.org/2001/04/xmlenc#tripledes-cbc"">
</EncryptionMethod>
<ds:KeyInfo xmlns:ds=""http://www.w3.org/2000/09/xmldsig#"">
<ds:KeyName>http://Passport.NET/STS</ds:KeyName>
</ds:KeyInfo>
<CipherData>
<CipherValue>
{4:BinaryDAToken}
</CipherValue>
</CipherData>
</EncryptedData>
</wsse:BinarySecurityToken>
</o:Security>
</s:Header>
<s:Body>
<t:RequestSecurityToken xmlns:t=""http://schemas.xmlsoap.org/ws/2005/02/trust"">
<wsp:AppliesTo xmlns:wsp=""http://schemas.xmlsoap.org/ws/2004/09/policy"">
<a:EndpointReference>
<a:Address>{6:URNAddress}</a:Address>
</a:EndpointReference>
</wsp:AppliesTo>
<wsp:PolicyReference URI=""MBI_FED_SSL""
xmlns:wsp=""http://schemas.xmlsoap.org/ws/2004/09/policy"" />
<t:RequestType>
http://schemas.xmlsoap.org/ws/2005/02/trust/Issue</t:RequestType>
</t:RequestSecurityToken>
</s:Body>
</s:Envelope>
<s:Envelope xmlns:s=""http://www.w3.org/2003/05/soap-envelope""
xmlns:a=""http://www.w3.org/2005/08/addressing""
xmlns:u=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"">
<s:Header>
<a:Action s:mustUnderstand=""1"">
http://schemas.microsoft.com/xrm/2011/Contracts/Services/IOrganizationService/{7:Action}</a:Action>
<a:MessageID>
urn:uuid:{6:MessageID}</a:MessageID>
<a:ReplyTo>
<a:Address>
http://www.w3.org/2005/08/addressing/anonymous</a:Address>
</a:ReplyTo>
<VsDebuggerCausalityData xmlns=""http://schemas.microsoft.com/vstudio/diagnostics/servicemodelsink"">
uIDPozJEz+P/wJdOhoN2XNauvYcAAAAAK0Y6fOjvMEqbgs9ivCmFPaZlxcAnCJ1GiX+Rpi09nSYACQAA</VsDebuggerCausalityData>
<a:To s:mustUnderstand=""1"">
{2:CRMURL}</a:To>
<o:Security s:mustUnderstand=""1""
xmlns:o=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"">
<u:Timestamp u:Id=""_0"">
<u:Created>{0:timeCreated}Z</u:Created>
<u:Expires>{1:timeExpires}Z</u:Expires>
</u:Timestamp>
<EncryptedData Id=""Assertion0""
Type=""http://www.w3.org/2001/04/xmlenc#Element""
xmlns=""http://www.w3.org/2001/04/xmlenc#"">
<EncryptionMethod Algorithm=""http://www.w3.org/2001/04/xmlenc#tripledes-cbc"">
</EncryptionMethod>
<ds:KeyInfo xmlns:ds=""http://www.w3.org/2000/09/xmldsig#"">
<EncryptedKey>
<EncryptionMethod Algorithm=""http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"">
</EncryptionMethod>
<ds:KeyInfo Id=""keyinfo"">
<wsse:SecurityTokenReference xmlns:wsse=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"">
<wsse:KeyIdentifier EncodingType=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary""
ValueType=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier"">
{3:KeyIdentifier}</wsse:KeyIdentifier>
</wsse:SecurityTokenReference>
</ds:KeyInfo>
<CipherData>
<CipherValue>
{4:SecurityToken0}</CipherValue>
</CipherData>
</EncryptedKey>
</ds:KeyInfo>
<CipherData>
<CipherValue>
{5:SecurityToken1}</CipherValue>
</CipherData>
</EncryptedData>
</o:Security>
</s:Header>
<s:Body>
<Retrieve xmlns=""http://schemas.microsoft.com/xrm/2011/Contracts/Services"">
<entityName>account</entityName>
<id>{8:AccountID}</id>
<columnSet xmlns:b=""http://schemas.microsoft.com/xrm/2011/Contracts""
xmlns:i=""http://www.w3.org/2001/XMLSchema-instance"">
<b:AllColumns>false</b:AllColumns>
<b:Columns xmlns:c=""http://schemas.microsoft.com/2003/10/Serialization/Arrays"">
<c:string>name</c:string>
<c:string>address1_postalcode</c:string>
<c:string>lastusedincampaign</c:string>
</b:Columns>
</columnSet>
</Retrieve>
</s:Body>
</s:Envelope>