Protocols/MSNP/MSNP15/Roaming

From NINA Wiki
Jump to navigation Jump to search
MSNP Protocol
Version 15
General
OverviewChanges
Single Sign-OnTicket Tokens
New Features
Locations
Roaming Content
Overview
IntroductionTermsClients
Reference
Error ListCommandsRelaying Party SuiteSpotlife
Services
XMPPHTTP GatewayTabsActivities
Documentation
Development ToolsMSNP Grid
PolygamyURLs used by MSN
Documents
Protocol Versions
Version 21
Version 18
Version 16
Version 15
Version 14
Version 13
Version 12
Version 11
Version 9
Version 8
MSNC
IntroductionP2PObject DescriptorDisplay PicturesFile Transfer
Scenarios
Microsoft Messenger for Mac
MSNP on WebTV (MSNTV)


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"