Protocols/MSNP/MSNP15/Roaming

From NINA Wiki
Revision as of 04:35, 3 August 2009 by AD (talk | contribs) (Reverted edit of LaboaCacel, changed back to last version by Idil)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
MSN Protocol Version 15


Roaming

6 Soap Actions:

Get Profile(Get a user's info):

http://www.msn.com/webservices/storage/w10/GetProfile

Update Profile(Update your info):

http://www.msn.com/webservices/storage/w10/UpdateProfile

Create Document(Store your display picture):

http://www.msn.com/webservices/storage/w10/CreateDocument

Find Documents(See your stored display pictures):

http://www.msn.com/webservices/storage/w10/FindDocuments

Create Relationships:

http://www.msn.com/webservices/storage/w10/CreateRelationships

Delete Relationships:

http://www.msn.com/webservices/storage/w10/DeleteRelationships

Post Action:

https://tkrdr.storage.msn.com/storageservice/SchematizedStore.asmx

The contents will be described thoroughly later on

SOAP XML Template

<?xml version="1.0" encoding="utf-8" ?>
<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:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
  <soap:Header>
    <AffinityCacheHeader xmlns="http://www.msn.com/webservices/storage/w10">
      <CacheKey>cacheKeyHere</CacheKey>
    </AffinityCacheHeader>
    <StorageApplicationHeader xmlns="http://www.msn.com/webservices/storage/w10">
      <ApplicationID>Messenger Client 8.5</ApplicationID>
      <Scenario>RoamingIdentityChanged</Scenario>
    </StorageApplicationHeader>
    <StorageUserHeader xmlns="http://www.msn.com/webservices/storage/w10">
      <Puid>0</Puid>
      <TicketToken>t=ticket-here&p=</TicketToken>
    </StorageUserHeader>
  </soap:Header>
  <soap:Body>
    <!-- Action specific body -->
  </soap:Body>
</soap:Envelope>

In order to get your cache key, remove the AffinityCacheHeader area, and request your profile with the Scenario set to "Initial" instead of "RoamingIdentityChanged"