36
Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved. Client-Server Protocol Binary XML definition and Examples V1.0 WV Internal Tracking Number: WV-008

Client-Server Protocol Binary XML definition and Examples V1openmobilealliance.org/tech/affiliates/wv/wv_csp_wbxml_v1.0.pdf · 3.4 Attribute value tokens ... experimental purposes,

  • Upload
    buingoc

  • View
    223

  • Download
    3

Embed Size (px)

Citation preview

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.

Client-Server Protocol

Binary XML definition and Examples

V1.0

WV Internal Tracking Number: WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.

Notice

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All Rights Reserved.

Implementation of all or part of any Specification may require licenses under third partyintellectual property rights, including without limitation, patent rights (such a third party may or maynot be a Supporter). The Sponsors of the Specification are not responsible and shall not be heldresponsible in any manner for identifying or failing to identify any or all such third party intellectualproperty rights.

THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN ARE PROVIDED ON AN "ASIS" BASIS WITHOUT WARRANTY OF ANY KIND AND ERICSSON, MOTOROLA and NOKIADISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TOANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANYRIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR APARTICULAR PURPOSE. IN NO EVENT SHALL ERICSSON, MOTOROLA or NOKIA BE LIABLETO ANY PARTY FOR ANY LOSS OF PROFITS, LOSS OF BUSINESS, LOSS OF USE OF DATA,INTERRUPTION OF BUSINESS, OR FOR DIRECT, INDIRECT, SPECIAL OR EXEMPLARY,INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES OF ANY KIND IN CONNECTIONWITH THIS DOCUMENT OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED OFTHE POSSIBILITY OF SUCH LOSS OR DAMAGE. The above notice and this paragraph must beincluded on all copies of this document that are made.

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.

Table of contents

1. Revision History ................................................................................................................................42. References........................................................................................................................................53. Token definitions ...............................................................................................................................6

3.1 Public document identifier ..........................................................................................................63.2 Tag code pages..........................................................................................................................6

3.2.1 Common code page (0x00) ................................................................................................73.2.2 Access code page (0x01) ...................................................................................................93.2.3 Service code page (0x02) .................................................................................................103.2.4 Client capability code page (0x03)....................................................................................113.2.5 Presence primitive code page (0x04) ...............................................................................123.2.6 Presence attribute code page (0x05)................................................................................133.2.7 Messaging code page (0x06)............................................................................................143.2.8 Group code page (0x07) ...................................................................................................15

3.3 Attribute start tokens ................................................................................................................153.4 Attribute value tokens...............................................................................................................16

3.4.1 Common value tokens (0x00)...........................................................................................163.4.2 Access value tokens (0x01)..............................................................................................173.4.3 Presence value tokens (0x05) ..........................................................................................17

4. Data types .......................................................................................................................................194.1 Character..................................................................................................................................194.2 Integer.......................................................................................................................................194.3 Boolean.....................................................................................................................................194.4 String ........................................................................................................................................194.5 Binary data................................................................................................................................204.6 Date and time...........................................................................................................................204.7 Structures .................................................................................................................................21

5. Examples ........................................................................................................................................215.1 Status primitive with details......................................................................................................215.2 Polling-Request primitive..........................................................................................................225.3 2-way login transaction ............................................................................................................23

5.3.1 Login-Request primitive ....................................................................................................235.3.2 Login-Response primitive .................................................................................................25

5.4 4-way login transaction ............................................................................................................265.4.1 Login-Request primitive ....................................................................................................265.4.2 Login-Response primitive .................................................................................................275.4.3 Login-Request primitive ....................................................................................................285.4.4 Login-Response primitive .................................................................................................30

5.5 Service negotiation transaction................................................................................................315.5.1 Service-Request primitive.................................................................................................315.5.2 Service-Response primitive ..............................................................................................32

5.6 Send message transaction ......................................................................................................335.6.1 SendMessage-Request primitive......................................................................................335.6.2 SendMessage-Response primitive...................................................................................35

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.4

1. REVISION HISTORY

Date Issue Description AuthorFebruary 13th TBD Initial release WV TechComm

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.5

2. REFERENCES

[ISO8601] ISO 8601 International Standard, Second Edition. Data elements aninterchange formats – Information interchange – Representation ofdates and times

[WBXML] WAP Binary XML Content Format (document ID: WAP-192-WBXML-20000515)

[WV-CSP-DTD] Wireless Village – Client-Server protocol, DTD and Examples[WV-CSP-TRANS] Wireless Village – Client-Server protocol, Transport Binding

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.6

3. TOKEN DEFINITIONS

3.1 Public document identifier

A public document identifier has been reserved on the W@P forum, so that theparsers will know that the Wireless Village code space has to be used.

The Wireless Village public document identifier is to be registered in WAP Forum. Forexperimental purposes, the value 0x01 is used.

3.2 Tag code pages

The global code page is too small to put all of the tokens we have into the same tagcode page. The tags are divided into smaller code pages:

• Code page 0x00 contains the common tags, which are used in severaltransactions.

• Code page 0x01 contains the access and fundamental primitives related tags.• Code page 0x02 contains the service negotiation related tags.• Code page 0x03 contains the client capability negotiation related tags.• Code page 0x04 contains the presence primitive related tags.• Code page 0x05 contains the presence attribute related tags.• Code page 0x06 contains the messaging service related tags.• Code page 0x07 contains the group service related tags.

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.7

3.2.1 Common code page (0x00)

The following tokens are defined in the common tag code page (0x00):

Tag name TokenAcceptance 05AddList 06AddNickList 07Attribute 08AttributeList 09ClientID 0ACode 0BContactList 0CContentData 0DContentEncoding 0EContentSize 0FContentType 10DateTime 11Description 12DetailedResult 13EntityList 14Group 15GroupID 16GroupList 17InUse 18Logo 19MessageCount 1AMessageID 1BMessageURI 1CMSISDN 1DName 1ENickList 1FNickName 20Poll 21Presence 22PresenceSubList 23PresenceValue 24Property 25Qualifier 26Recipient 27RemoveList 28RemoveNickList 29Result 2AScreenName 2BSender 2CSession 2DSessionDescriptor 2ESessionID 2FSessionType 30Status 31Transaction 32TransactionContent 33TransactionDescriptor 34TransactionID 35

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.8

TransactionMode 36URL 37URLList 38User 39UserID 3AUserList 3BValidity 3CValue 3DWV-CSP-Message 3E

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.9

3.2.2 Access code page (0x01)

The following tokens are defined in the service access tag code page (0x01):

Tag name TokenAllFunctions 05AllFunctionsRequest 06CancelInvite-Request 07CancelInviteUser-Request 08Capability 09CapabilityList 0ACapabilityRequest 0BClientCapability-Request 0CClientCapability-Response 0DDigestBytes 0EDigestSchema 0FDisconnect 10Functions 11GetSPInfo-Request 12GetSPInfo-Response 13InviteID 14InviteNote 15Invite-Request 16Invite-Response 17InviteType 18InviteUser-Request 19InviteUser-Response 1AKeepAlive-Request 1BKeepAliveTime 1CLogin-Request 1DLogin-Response 1ELogout-Request 1FNonce 20Password 21Polling-Request 22ResponseNote 23SearchElement 24SearchFindings 25SearchID 26SearchIndex 27SearchLimit 28SearchOnlineStatus 29SearchPairList 2ASearch-Request 2BSearch-Response 2CSearchResult 2DService-Request 2EService-Response 2FSessionCookie 30StopSearch-Request 31TimeToLive 32

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.10

3.2.3 Service code page (0x02)

The following tokens are defined in the service negotiation tag code page (0x02):

Tag name TokenADDGM 05AttListFunc 06BLENT 07CAAUT 08CAINV 09CALI 0ACCLI 0BContListFunc 0CCREAG 0DDALI 0EDCLI 0FDELGR 10FundamentalFeat 11FWMSG 12GALS 13GCLI 14GETGM 15GETGP 16GETLM 17GETM 18GETPR 19GETSPI 1AGETWL 1BGLBLU 1CGRCHN 1DGroupAuthFunc 1EGroupFeat 1FGroupMgmtFunc 20GroupUseFunc 21IMAuthFunc 22IMFeat 23IMReceiveFunc 24IMSendFunc 25INVIT 26InviteFunc 27MBRAC 28MCLS 29MDELIV 2ANEWM 2BNOTIF 2CPresenceAuthFunc 2DPresenceDeliverFunc 2EPresenceFeat 2FREACT 30REJCM 31REJEC 32RMVGM 33SearchFunc 34ServiceFunc 35

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.11

SETD 36SETGP 37SRCH 38STSRC 39SUBGCN 3AUPDPR 3BWVCSPFeat 3C

3.2.4 Client capability code page (0x03)

The following tokens are defined in the client capability tag code page (0x03):

Tag name TokenAcceptedCharset 05AcceptedContentLength 06AcceptedContentType 07AcceptedTransferEncoding 08AnyContent 09ClientType 0AInitialDeliveryMethod 0BMultiTrans 0CParserSize 0DServerPollMin 0ESupportedBearer 0FSupportedCIRMethod 10TCPAddress 11TCPPort 12UDPPort 13

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.12

3.2.5 Presence primitive code page (0x04)

The following tokens are defined in the presence primitive tag code page (0x04):

Tag name TokenCancelAuth-Request 05ContactListProperties 06CreateAttributeList-Request 07CreateList-Request 08DefaultAttributeList 09DefaultContactList 0ADefaultList 0BDeleteAttributeList-Request 0CDeleteList-Request 0DGetAttributeList-Request 0EGetAttributeList-Response 0FGetList-Request 10GetList-Response 11GetPresence-Request 12GetPresence-Response 13GetWatcherList-Request 14GetWatcherList-Response 15ListManage-Request 16ListManage-Response 17Presence 18PresenceAuth-Request 19PresenceAuth-Response 1APresenceNotification-Request 1BPresenceValueList 1CSubscribePresence-Request 1DUnsubscribePresence-Request 1EUpdatePresence-Request 1F

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.13

3.2.6 Presence attribute code page (0x05)

The following tokens are defined in the presence attribute tag code page (0x05):

Tag name TokenAccuracy 05Address 06AddrPref 07Alias 08Altitude 09Building 0ACAddr 0BCity 0CClientInfo 0DClientProducer 0EClientType 0FClientVersion 10CommC 11CommCap 12ContactInfo 13ContainedvCard 14Country 15Crossing1 16Crossing2 17DevManufacturer 18DirectContent 19FreeTextLocation 1AGeoLocation 1BLanguage 1CLatitude 1DLongitude 1EModel 1FNamedArea 20OnlineStatus 21PLMN 22PrefC 23PreferredContacts 24PreferredLanguage 25ReferredContent 26ReferredvCard 27Registration 28StatusContent 29StatusMood 2AStatusText 2BStreet 2CTimeZone 2DUserAvailability 2E

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.14

3.2.7 Messaging code page (0x06)

The following tokens are defined in the messaging service tag code page (0x06):

Tag name TokenBlockList 05BlockUser-Request 06DeliveryMethod 07DeliveryReport 08DeliveryReport-Request 09ForwardMessage-Request 0AGetBlockedList-Request 0BGetBlockedList-Response 0CGetMessageList-Request 0DGetMessageList-Response 0EGetMessage-Request 0FGetMessage-Response 10GrantList 11MessageDelivered 12MessageInfo 13MessageNotification 14NewMessage 15RejectMessage-Request 16SendMessage-Request 17SendMessage-Response 18SetDeliveryMethod-Request 19

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.15

3.2.8 Group code page (0x07)

The following tokens are defined in the group service tag code page (0x07):

Tag name TokenAddGroupMembers-Request 05Admin 06CreateGroup-Request 07DeleteGroup-Request 08GetGroupMembers-Request 09GetGroupMembers-Response 0AGetGroupProps-Request 0BGetGroupProps-Response 0CGroupChangeNotice 0DGroupProperties 0EJoined 0FJoinedRequest 10JoinGroup-Request 11JoinGroup-Response 12LeaveGroup-Request 13LeaveGroup-Response 14Left 15MemberAccess-Request 16Mod 17OwnProperties 18RejectList-Request 19RejectList-Response 1ARemoveGroupMembers-Request 1BSetGroupProps-Request 1CSubscribeGroupNotice-Request 1DSubscribeGroupNotice-Response 1EUsers 1FWelcomeNote 20

3.3 Attribute start tokens

The following attribute start tokens are defined in the common code page (0x00):

Attribute name Attribute Value Prefix Tokenxmlns “http://www.wireless-village.org/CSP 05xmlns “http://www.wireless-village.org/PA 06xmlns “http://www.wireless-village.org/TRC 07

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.16

3.4 Attribute value tokens

The global code page is too small to put all of the value tokens into the same codepage. The value tokens are divided into smaller code pages:

• Code page 0x00 contains the common values, which are used in severaltransactions.

• Code page 0x01 contains the access information related values.• Code page 0x02 contains the presence information related values.

3.4.1 Common value tokens (0x00)

The following attribute value tokens are defined in the common code page (0x00):

Attribute value TokenAccessType 85ActiveUsers 86Admin 87application/ 88application/vnd.wap.mms-message 89application/x-sms 8ABASE64 8BClosed 8CDefault 8DDisplayName 8EFalse (No) 8FGet 90Group (GR) 91http:// 92https:// 93image/ 94Inband 95Instant Messaging (IM) 96MaxActiveUsers 97Mod 98Name 99None 9ANotify/Get 9BOpen 9COutband 9DPresence (PR) 9EPrivate 9FPrivateMessaging A0PrivilegeLevel A1Public A2Push A3Request A4Response A5ScreenName A6Searchable A7Set A8Shared Content (SC) A9text/ AAtext/plain ABtext/x-vCalendar AC

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.17

text/x-vCard ADTopic AETrue (Yes) AFType B0Unset B1User (US) B2www.wireless-village.org B3

3.4.2 Access value tokens (0x01)

The following attribute value tokens are defined in the access code page (0x01):

Attribute value TokenGROUP_ID 85GROUP_NAME 86GROUP_TOPIC 87GROUP_USER_ID_JOINED 88HTTP 89SMS 8ASTCP 8BSUDP 8CUSER_ALIAS 8DUSER_EMAIL_ADDRESS 8EUSER_FIRST_NAME 8FUSER_ID 90USER_LAST_NAME 91USER_MOBILE_NUMBER 92WAPSMS 93WAPUDP 94WSP 95

3.4.3 Presence value tokens (0x05)

The following attribute value tokens are defined in the presence code page (0x05):

Attribute value TokenANGRY 85ANXIOUS 86ASHAMED 87AUDIO_CALL 88AVAILABLE 89BORED 8ACALL 8BCLI 8CCOMPUTER 8DDISCREET 8EEMAIL 8FEXCITED 90HAPPY 91IM 92IM_OFFLINE 93IM_ONLINE 94IN_LOVE 95INVINCIBLE 96

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.18

JEALOUS 97MMS 98MOBILE_PHONE 99NOT_AVAILABLE 9AOTHER 9BPDA 9CSAD 9DSLEEPY 9ESMS 9FVIDEO_CALL A0VIDEO_STREAM A1

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.19

4. DATA TYPES

4.1 Character

A single character can be encoded as ENTITY (0x02) followed by a mb_u_int32containing the entity number.

0x02 mb_u_int32

Example: The ‘á’ character (code is 160) would be encoded as:

0x02 0x81 0x20

4.2 Integer

An integer number can be encoded as OPAQUE (0xC3) followed by an mb_u_int32that contains the length of the integer, then the actual bytes of the integer in big-endian order (most significant bytes first).

0xC3 mb_u_int32 … bytes …

Which means that a 1-byte integer would look like this:

0xC3 0x01 byte

A 2-byte integer would look like this:

0xC3 0x02 byte byte

A 4-byte integer would look like this:

0xC3 0x04 byte byte byte byte

Example: The 2001 (0x07D1) number would be encoded as:

0xC3 0x02 0x07 0xD1

4.3 Boolean

The “True” and “False” values are encoded.

See 3.4.1 Common value tokens (0x00) on page 16.

4.4 String

WBXML already includes the definition:

• Inline string: STR_I (0x03) followed by the string and the terminating character(0x00), or

• String table: STR_T (0x83) followed by a mb_u_int32 which is the string tableoffset from the first character of the first string in the table (not a character offset!).

Inline string:

0x03 …character data … 0x00

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.20

String table reference:

0x83 mb_u_int32

Example: The “This is a string!” string would be encoded as (inline string):

0x03 ‘T’ ‘h’ ‘i’ ‘s’ ‘ ‘ ‘i’ ‘s’ ‘ ‘ ‘a’ ‘ ‘ ‘s’ ‘t’ ‘r’ ‘i’ ‘n’ ‘g’ ‘!’ 0x00

4.5 Binary data

Binary data can be encoded as OPAQUE (0xC3) followed by an mb_u_int32 thatcontains the length of the binary stream, then the actual bytes of the binary stream.

0xC3 mb_u_int32 … bytes …

Example: A GIF file that is 22368 bytes long would be encoded as:

0xC3 0x81 0xAE 0x60 0x47 0x49 0x46 0x38 0x39 0x61 …(truncated)

4.6 Date and time

Date and time can be encoded as OPAQUE data or as a string as specified in[ISO8601]. For string encoding, refer to section 4.4 String on page 19.

OPAQUE encoding: the OPAQUE global token (0xC3) is followed by an mb_u_int32that contains the length of the date bytes, then the actual bytes of the encoded date.The time is always in 24-hour format, so there is no need to indicate a.m. or p.m.

0xC3 mb_u_int32 … bytes …

The encoding of the date bytes is as follows:

• The first 2 bits are reserved, and both must be 0.• Year is encoded on 12 bits (up to 4095)• Month is encoded on 4 bits (up to 15)• Day is encoded on 5 bits (up to 31)• Hour is encoded on 5 bits (up to 31)• Minute is encoded on 6 bits (up to 63)• Second is encoded on 6 bits (up to 63)• Time zone is encoded in 1 byte [ISO8601].

Bits 47, 46reserved

Bits 45-34year

Bits 33-30month

Bits 29-25day

Bits 24-20hour

Bits 19-14minute

Bits 13-8second

Bits 7-0TimeZone

This takes exactly 6 bytes (48 bits).

Since the length is always 6 bytes, it is encoded as:

0xC3 0x06 byte byte byte byte byte byte

Example: The date and time at 16:58:59 on the 25th of September in 2001 in timezone ‘Z’ would be encoded as:

0xC3 0x05 0x1F 0x46 0x73 0x0E 0xBB 0x5A

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.21

4.7 Structures

The syntax itself is specified in [WBXML].

The structure of the tags is as specified in [XML&DTD].

5. EXAMPLES

5.1 Status primitive with details

Token stream Description03 Version number – WBXML version 1.301 Wireless Village public document identifier6A Charset=UTF-8 (MIBEnum is 106)00 String table lengthFE START WV-CSP-Message05 xmlns=”http://www.wireless-village.org/CSP03 Inline string follows31 2E 30 22 “1.0””00 String terminator6D START Session6E START SessionDescriptor70 START SessionType95 Inband01 END SessionType6F START SessionID03 Inline string follows69 6D 2E 75 73 65 72 2E 63 6F 6D 23 34 38 38 3135 40 73 65 72 76 65 72 2E 63 6F 6D

“im.user.com#[email protected]

00 String terminator01 END SessionID01 END SessionDesciptor72 START Transaction74 START TransactionDescriptor76 START TransactionModeA5 Response01 END TransactionMode75 START TransactionID03 Inline string follows49 4D 41 70 70 30 31 23 31 32 33 34 35 40 4E 4F 4B35 31 31 30

“IMApp01#12345@NOK5110”

00 String terminator01 END TransactionID61 START Poll8F No (False)01 END Poll01 END TransactionDescriptorF3 START TransactionContent07 xmlns=”http://www.wireless-village.org/TRC”03 Inline string follows31 2E 30 22 “1.0””00 String terminator71 START Status6A START Result4B START CodeC3 Opaque data starts01 Length of data is 1 byteC9 Big endian 20101 END Code52 START Description03 Inline string follows50 61 72 74 69 61 6C 6C 79 20 73 75 63 63 65 73 7366 75 6C 2E

“Partially successful.”

00 String terminator

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.22

01 END Description53 START DetailedResult4B START CodeC3 Opaque data starts01 Length of data is 2 bytes02 13 Big endian 53101 END Code52 START Description03 Inline string follows55 6E 6B 6E 6F 77 6E 20 75 73 65 72 2E “Unknown user.”00 String terminator01 END Description7A START UserID03 Inline string follows77 76 3A 62 61 64 5F 75 73 65 72 31 40 69 6D 2E 636F 6D

“wv:[email protected]

00 String terminator01 END UserID7A START UserID03 Inline string follows77 76 3A 62 61 64 5F 75 73 65 72 32 40 69 6D 2E 636F 6D

“wv:[email protected]

00 String terminator01 END UserID01 END DetailedResult53 START DetailedResult4B START CodeC3 Opaque data starts01 Length of data is 2 bytes02 14 Big endian 53201 END Code52 START Description03 Inline string follows42 6C 6F 63 6B 65 64 2E “Blocked.”00 String terminator01 END Description7A START UserID03 Inline string follows77 76 3A 62 61 64 5F 75 73 65 72 33 40 69 6D 2E 636F 6D

“wv:[email protected]

00 String terminator01 END UserID7A START UserID03 Inline string follows77 76 3A 62 61 64 5F 75 73 65 72 34 40 69 6D 2E 636F 6D

“wv:[email protected]

00 String terminator01 END UserID01 END DetailedResult01 END Result01 END Status01 END TransactionContent01 END Transaction01 END Session01 END WV-CSP-Message

5.2 Polling-Request primitive

Token stream Description03 Version number – WBXML version 1.301 Wireless Village public document

identifier6A Charset=UTF-8 (MIBEnum is 106)00 String table lengthFE START WV-CSP-Message

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.23

05 xmlns=”http://www.wireless-village.org/CSP

03 Inline string follows31 2E 30 22 “1.0””00 String terminator6D START Session6E START SessionDescriptor70 START SessionType95 Inband01 END SessionType6F START SessionID03 Inline string follows69 6D 2E 75 73 65 72 2E 63 6F 6D 23 34 38 38 31 35 4073 65 72 76 65 72 2E 63 6F 6D

“im.user.com#[email protected]

00 String terminator01 END SessionID01 END SessionDesciptor72 START Transaction74 START TransactionDescriptor76 START TransactionModeA4 Request01 END TransactionMode75 START TransactionID03 Inline string follows49 4D 41 70 70 30 31 23 31 32 33 34 35 40 4E 4F 4B 3531 31 30

“IMApp01#12345@NOK5110”

00 String terminator01 END TransactionID01 END TransactionDescriptorF3 START TransactionContent07 xmlns=”http://www.wireless-

village.org/TRC”03 Inline string follows31 2E 30 22 “1.0””00 String terminator00 Switch code page to01 Access code page22 EMPTY Polling-Request01 END TransactionContent01 END Transaction01 END Session01 END WV-CSP-Message

5.3 2-way login transaction

5.3.1 Login-Request primitive

Token stream Description03 Version number – WBXML version 1.301 Wireless Village public document

identifier6A Charset=UTF-8 (MIBEnum is 106)00 String table lengthFE START WV-CSP-Message05 xmlns=”http://www.wireless-

village.org/CSP03 Inline string follows31 2E 30 22 “1.0””00 String terminator6D START Session6E START SessionDescriptor70 START SessionType9D Outband01 END SessionType01 END SessionDesciptor

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.24

72 START Transaction74 START TransactionDescriptor76 START TransactionModeA4 Request01 END TransactionMode75 START TransactionID03 Inline string follows49 4D 41 70 70 30 31 23 31 32 33 34 35 40 4E 4F 4B 3531 31 30

“IMApp01#12345@NOK5110”

00 String terminator01 END TransactionID01 END TransactionDescriptorF3 START TransactionContent07 xmlns=”http://www.wireless-

village.org/TRC”03 Inline string follows31 2E 30 22 “1.0””00 String terminator00 Switch code page to01 Access code page5D START Login-Request7A START UserID03 Inline string follows77 76 3A 75 73 65 72 40 69 6D 2E 63 6F 6D “wv:[email protected]”00 String terminator01 END UserID4A START ClientID77 START URL90 http://03 Inline string follows32 30 36 2E 32 32 36 2E 32 30 2E 32 35 3A 38 30 2F 494D 50 53 41 50 50

“206.226.20.25:80/IMPSAPP”

00 String terminator01 END URL01 END ClientID00 Switch code page to01 Access code page61 START Password03 Inline string follows31 6D 79 32 70 61 73 73 33 77 6F 72 64 “1my2pass3word”00 String terminator01 END Password00 Switch code page to01 Access code page72 START TimeToLiveC3 Opaque data starts01 Length of data is 1 byte78 Big endian 12001 END TimeToLive00 Switch code page to01 Access code page70 START SessionCookie03 Inline string follows69 6D 2E 75 73 65 72 2E 63 6F 6D 23 32 30 30 32 30 3132 38 23 33 32 38 37 34 36 32 39 33

“im.user.com#20020128#328746293”

00 String terminator01 END SessionCookie01 END Login-Request01 END TransactionContent01 END Transaction01 END Session01 END WV-CSP-Message

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.25

5.3.2 Login-Response primitive

Token stream Description03 Version number – WBXML version 1.301 Wireless Village public document identifier6A Charset=UTF-8 (MIBEnum is 106)00 String table lengthFE START WV-CSP-Message05 xmlns=”http://www.wireless-village.org/CSP03 Inline string follows31 2E 30 22 “1.0””00 String terminator6D START Session6E START SessionDescriptor70 START SessionType9D Outband01 END SessionType01 END SessionDesciptor72 START Transaction74 START TransactionDescriptor76 START TransactionModeA5 Response01 END TransactionMode75 START TransactionID03 Inline string follows49 4D 41 70 70 30 31 23 31 32 33 34 35 40 4E 4F 4B35 31 31 30

“IMApp01#12345@NOK5110”

00 String terminator01 END TransactionID61 START Poll8F No (False)01 END Poll01 END TransactionDescriptorF3 START TransactionContent07 xmlns=”http://www.wireless-village.org/TRC”03 Inline string follows31 2E 30 22 “1.0””00 String terminator00 Switch code page to01 Access code page5E START Login-Response4A START ClientID77 START URL90 http://03 Inline string follows32 30 36 2E 32 32 36 2E 32 30 2E 32 35 3A 38 30 2F49 4D 50 53 41 50 50

“206.226.20.25:80/IMPSAPP”

00 String terminator01 END URL01 END ClientID6A START Result4B START CodeC3 Opaque data starts01 Length of data is 1 byteC8 Big endian 20001 END Code52 START Description53 75 63 63 65 73 73 66 75 6C 6C 79 20 6C 6F 67 6765 64 20 69 6E 2E

“Successfully logged in.”

00 String terminator01 END Description01 END Result6F START SessionID03 Inline string follows69 6D 2E 75 73 65 72 2E 63 6F 6D 23 34 38 38 31 35 “im.user.com#[email protected]

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.26

40 73 65 72 76 65 72 2E 63 6F 6D00 String terminator01 END SessionID00 Switch code page to01 Access code page5C START KeepAliveTimeC3 Opaque data starts01 Length of data is 1 byte78 Big endian 12001 END KeepAliveTime00 Switch code page to01 Access code page4B START CapabilityRequestAF Yes (True)01 END CapabilityRequest01 END Login-Response01 END TransactionContent01 END Transaction01 END Session01 END WV-CSP-Message

5.4 4-way login transaction

5.4.1 Login-Request primitive

Token stream Description03 Version number – WBXML version 1.301 Wireless Village public document

identifier6A Charset=UTF-8 (MIBEnum is 106)00 String table lengthFE START WV-CSP-Message05 xmlns=”http://www.wireless-

village.org/CSP03 Inline string follows31 2E 30 22 “1.0””00 String terminator6D START Session6E START SessionDescriptor70 START SessionType9D Outband01 END SessionType01 END SessionDesciptor72 START Transaction74 START TransactionDescriptor76 START TransactionModeA4 Request01 END TransactionMode75 START TransactionID03 Inline string follows49 4D 41 70 70 30 31 23 31 32 33 34 35 40 4E 4F 4B 3531 31 30

“IMApp01#12345@NOK5110”

00 String terminator01 END TransactionID01 END TransactionDescriptorF3 START TransactionContent07 xmlns=”http://www.wireless-

village.org/TRC”03 Inline string follows31 2E 30 22 “1.0””00 String terminator00 Switch code page to01 Access code page5D START Login-Request7A START UserID

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.27

03 Inline string follows77 76 3A 75 73 65 72 40 69 6D 2E 63 6F 6D “wv:[email protected]”00 String terminator01 END UserID4A START ClientID77 START URL90 http://03 Inline string follows32 30 36 2E 32 32 36 2E 32 30 2E 32 35 3A 38 30 2F 494D 50 53 41 50 50

“206.226.20.25:80/IMPSAPP”

00 String terminator01 END URL01 END ClientID00 Switch code page to01 Access code page4F START DigestSchema03 Inline string follows50 57 44 2C 53 48 41 2C 4D 44 34 2C 4D 44 35 2C 4D 4436

“PWD,SHA,MD4,MD5,MD6”

00 String terminator01 END DigestSchema00 Switch code page to01 Access code page70 START SessionCookie03 Inline string follows69 6D 2E 75 73 65 72 2E 63 6F 6D 23 32 30 30 32 30 3132 38 23 33 32 38 37 34 36 32 39 33

“im.user.com#20020128#328746293”

00 String terminator01 END SessionCookie01 END Login-Request01 END TransactionContent01 END Transaction01 END Session01 END WV-CSP-Message

5.4.2 Login-Response primitive

Token stream Description03 Version number – WBXML version 1.301 Wireless Village public document identifier6A Charset=UTF-8 (MIBEnum is 106)00 String table lengthFE START WV-CSP-Message05 xmlns=”http://www.wireless-village.org/CSP03 Inline string follows31 2E 30 22 “1.0””00 String terminator6D START Session6E START SessionDescriptor70 START SessionType9D Outband01 END SessionType01 END SessionDesciptor72 START Transaction74 START TransactionDescriptor76 START TransactionModeA5 Response01 END TransactionMode75 START TransactionID03 Inline string follows49 4D 41 70 70 30 31 23 31 32 33 34 35 40 4E 4F 4B35 31 31 30

“IMApp01#12345@NOK5110”

00 String terminator01 END TransactionID61 START Poll

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.28

8F No (False)01 END Poll01 END TransactionDescriptor75 START TransactionContent07 xmlns=”http://www.wireless-village.org/TRC”03 Inline string follows31 2E 30 22 “1.0””00 String terminator00 Switch code page to01 Access code page5E START Login-Response4A START ClientID77 START URL90 http://03 Inline string follows32 30 36 2E 32 32 36 2E 32 30 2E 32 35 3A 38 30 2F49 4D 50 53 41 50 50

“206.226.20.25:80/IMPSAPP”

00 String terminator01 END URL01 END ClientID6A START Result4B START CodeC3 Opaque data starts01 Length of data is 1 byteC8 Big endian 20001 END Code52 START Description03 Inline string follows53 75 63 63 65 73 73 66 75 6C 6C 79 20 6C 6F 67 6765 64 20 69 6E 2E

“Successfully logged in.”

00 String terminator01 END Description01 END Result00 Switch code page to01 Access code page60 START Nonce03 Inline string follows6B 73 6A 66 79 68 61 6F 69 79 73 72 34 6F 68 74 3973 61 64 6F 67 66 73 61 64 66 67 79 39

“ksjfyhaoiysr4oht9sadogfsadfgy9”

00 String terminator01 END Nonce00 Switch code page to01 Access code page4F START DigestSchema03 Inline string follows4D 44 36 “MD6”00 String terminator01 END DigestSchema00 Switch code page to01 Access code page4B START CapabilityRequest8F No (False)01 END CapabilityRequest01 END Login-Response01 END TransactionContent01 END Transaction01 END Session01 END WV-CSP-Message

5.4.3 Login-Request primitive

Token stream Description03 Version number – WBXML version 1.301 Wireless Village public document

identifier

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.29

6A Charset=UTF-8 (MIBEnum is 106)00 String table lengthFE START WV-CSP-Message05 xmlns=”http://www.wireless-

village.org/CSP03 Inline string follows31 2E 30 22 “1.0””00 String terminator6D START Session6E START SessionDescriptor70 START SessionType9D Outband01 END SessionType01 END SessionDesciptor72 START Transaction74 START TransactionDescriptor76 START TransactionModeA4 Request01 END TransactionMode75 START TransactionID03 Inline string follows49 4D 41 70 70 30 31 23 31 32 33 34 35 40 4E 4F 4B 3531 31 30

“IMApp01#12345@NOK5110”

00 String terminator01 END TransactionID01 END TransactionDescriptorF3 START TransactionContent07 xmlns=”http://www.wireless-

village.org/TRC”03 Inline string follows31 2E 30 22 “1.0””00 String terminator00 Switch code page to01 Access code page5D START Login-Request7A START UserID03 Inline string follows77 76 3A 75 73 65 72 40 69 6D 2E 63 6F 6D “wv:[email protected]”00 String terminator01 END UserID4A START ClientID77 START URL90 http://03 Inline string follows32 30 36 2E 32 32 36 2E 32 30 2E 32 35 3A 38 30 2F 494D 50 53 41 50 50

“206.226.20.25:80/IMPSAPP”

00 String terminator01 END URL01 END ClientID00 Switch code page to01 Access code page4E START DigestBytes03 Inline string follows6D 73 61 64 66 62 6B 77 69 6E 6C 77 70 6F 6D 76 6D 7370 6F 65 70 77 65

“msadfbkwinlwpomvmspoepwe”

00 String terminator01 END DigestBytes00 Switch code page to01 Access code page72 START TimeToLiveC3 Opaque data starts01 Length of data is 1 byte78 Big endian 12001 END TimeToLive00 Switch code page to

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.30

01 Access code page70 START SessionCookie03 Inline string follows69 6D 2E 75 73 65 72 2E 63 6F 6D 23 32 30 30 32 30 3132 38 23 33 32 38 37 34 36 32 39 33

“im.user.com#20020128#328746293”

00 String terminator01 END SessionCookie01 END Login-Request01 END TransactionContent01 END Transaction01 END Session01 END WV-CSP-Message

5.4.4 Login-Response primitive

Token stream Description03 Version number – WBXML version 1.301 Wireless Village public document identifier6A Charset=UTF-8 (MIBEnum is 106)00 String table lengthFE START WV-CSP-Message05 xmlns=”http://www.wireless-village.org/CSP03 Inline string follows31 2E 30 22 “1.0””00 String terminator6D START Session6E START SessionDescriptor70 START SessionType9D Outband01 END SessionType01 END SessionDesciptor72 START Transaction74 START TransactionDescriptor76 START TransactionModeA5 Response01 END TransactionMode75 START TransactionID03 Inline string follows49 4D 41 70 70 30 31 23 31 32 33 34 35 40 4E 4F 4B35 31 31 30

“IMApp01#12345@NOK5110”

00 String terminator01 END TransactionID61 START Poll8F No (False)01 END Poll01 END TransactionDescriptorF3 START TransactionContent07 xmlns=”http://www.wireless-village.org/TRC”03 Inline string follows31 2E 30 22 “1.0””00 String terminator00 Switch code page to01 Access code page5E START Login-Response4A START ClientID77 START URL90 http://03 Inline string follows32 30 36 2E 32 32 36 2E 32 30 2E 32 35 3A 38 30 2F49 4D 50 53 41 50 50

“206.226.20.25:80/IMPSAPP”

00 String terminator01 END URL01 END ClientID6A START Result4B START Code

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.31

C3 Opaque data starts01 Length of data is 1 byteC8 Big endian 20001 END Code52 START Description03 Inline string follows53 75 63 63 65 73 73 66 75 6C 6C 79 20 6C 6F 67 6765 64 20 69 6E 2E

“Successfully logged in.”

00 String terminator01 END Description01 END Result6F START SessionID03 Inline string follows69 6D 2E 75 73 65 72 2E 63 6F 6D 23 34 38 38 31 3540 73 65 72 76 65 72 2E 63 6F 6D

“im.user.com#[email protected]

00 String terminator01 END SessionID00 Switch code page to01 Access code page5C START KeepAliveTimeC3 Opaque data starts01 Length of data is 1 byte78 Big endian 12001 END KeepAliveTime00 Switch code page to01 Access code page4B START CapabilityRequestAF Yes (True)01 END CapabilityRequest01 END Login-Response01 END TransactionContent01 END Transaction01 END Session01 END WV-CSP-Message

5.5 Service negotiation transaction

5.5.1 Service-Request primitive

Token stream Description03 Version number – WBXML version 1.301 Wireless Village public document

identifier6A Charset=UTF-8 (MIBEnum is 106)00 String table lengthFE START WV-CSP-Message05 xmlns=”http://www.wireless-

village.org/CSP03 Inline string follows31 2E 30 22 “1.0””00 String terminator6D START Session6E START SessionDescriptor70 START SessionType9D Outband01 END SessionType01 END SessionDesciptor72 START Transaction74 START TransactionDescriptor76 START TransactionModeA4 Request01 END TransactionMode75 START TransactionID03 Inline string follows49 4D 41 70 70 30 31 23 31 32 33 34 35 40 4E 4F 4B 35 31 “IMApp01#12345@NOK5110”

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.32

31 3000 String terminator01 END TransactionID01 END TransactionDescriptorF3 START TransactionContent07 xmlns=”http://www.wireless-

village.org/TRC”03 Inline string follows31 2E 30 22 “1.0””00 String terminator00 Switch code page to01 Access code page6E START Service-Request4A START ClientID77 START URL90 http://03 Inline string follows32 30 36 2E 32 32 36 2E 32 30 2E 32 35 3A 38 30 2F 49 4D50 53 41 50 50

“206.226.20.25:80/IMPSAPP”

00 String terminator01 END URL01 END ClientID00 Switch code page to01 Access code page51 START Functions00 Switch code page to02 Service code page7C START WVCSPFeat00 Switch code page to02 Service code page11 EMPTY FundamentalFeat00 Switch code page to02 Service code page2F EMPTY PresenceFeat00 Switch code page to02 Service code page23 EMPTY IMFeat01 END WVCSPFeat01 END Functions00 Switch code page to01 Access code page46 START AllFunctionsRequestAF Yes01 END AllFunctionsRequest01 END Service-Request01 END TransactionContent01 END Transaction01 END Session01 END WV-CSP-Message

5.5.2 Service-Response primitive

Token stream Description03 Version number – WBXML version 1.301 Wireless Village public document

identifier6A Charset=UTF-8 (MIBEnum is 106)00 String table lengthFE START WV-CSP-Message05 xmlns=”http://www.wireless-

village.org/CSP03 Inline string follows31 2E 30 22 “1.0””00 String terminator6D START Session

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.33

6E START SessionDescriptor70 START SessionType9D Outband01 END SessionType01 END SessionDesciptor72 START Transaction74 START TransactionDescriptor76 START TransactionModeA5 Response01 END TransactionMode75 START TransactionID03 Inline string follows49 4D 41 70 70 30 31 23 31 32 33 34 35 40 4E 4F 4B 3531 31 30

“IMApp01#12345@NOK5110”

00 String terminator01 END TransactionID61 START Poll8F No (False)01 END Poll01 END TransactionDescriptorF3 START TransactionContent07 xmlns=”http://www.wireless-

village.org/TRC”03 Inline string follows31 2E 30 22 “1.0””00 String terminator00 Switch code page to01 Access code page6C START Service-Response4A START ClientID77 START URL90 http://03 Inline string follows32 30 36 2E 32 32 36 2E 32 30 2E 32 35 3A 38 30 2F 494D 50 53 41 50 50

“206.226.20.25:80/IMPSAPP”

00 String terminator01 END URL01 END ClientID00 Switch code page to01 Access code page11 EMPTY Functions00 Switch code page to01 Access code page41 START AllFunctions3C EMPTY WVCSPFeat01 END AllFunctions01 END Service-Response01 END TransactionContent01 END Transaction01 END Session01 END WV-CSP-Message

5.6 Send message transaction

5.6.1 SendMessage-Request primitive

Token stream Description03 Version number – WBXML version 1.301 Wireless Village public document identifier6A Charset=UTF-8 (MIBEnum is 106)00 String table lengthFE START WV-CSP-Message05 xmlns=”http://www.wireless-

village.org/CSP03 Inline string follows

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.34

31 2E 30 22 “1.0””00 String terminator6D START Session6E START SessionDescriptor70 START SessionType95 Inband01 END SessionType6F START SessionID03 Inline string follows69 6D 2E 75 73 65 72 2E 63 6F 6D 23 34 38 38 31 35 4073 65 72 76 65 72 2E 63 6F 6D

“im.user.com#[email protected]

00 String terminator01 END SessionID01 END SessionDesciptor72 START Transaction74 START TransactionDescriptor76 START TransactionModeA4 Request01 END TransactionMode75 START TransactionID03 Inline string follows49 4D 41 70 70 30 31 23 31 32 33 34 35 40 4E 4F 4B 3531 31 30

“IMApp01#12345@NOK5110”

00 String terminator01 END TransactionID01 END TransactionDescriptorF3 START TransactionContent07 xmlns=”http://www.wireless-

village.org/TRC”03 Inline string follows31 2E 30 22 “1.0””00 String terminator00 Switch code page to06 Messaging code page57 START SendMessage-Request00 Switch code page to06 Messaging code page48 START DeliveryReportAF Yes01 END DeliveryReport00 Switch code page to06 Messaging code page53 START MessageInfo50 START ContentTypeA9 text/plain01 END ContentType4E START ContentEncoding97 None01 END ContentEncoding4F START ContentSizeC3 Opaque data starts01 Length of data is 1 byte3A Big endian 5801 END ContentSize67 START Recipient79 START User7A START UserID03 Inline string follows77 76 3A 68 65 40 74 68 65 72 65 2E 63 6F 6D “wv:[email protected]”00 String terminator01 END UserID01 END User55 START Group6B START ScreenName5E START Name

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.35

03 Inline string follows‘W’ ‘i’ ‘c’ ‘k’ ‘e’ ‘d’ ‘ ‘ ‘V’ ‘i’ ‘c’ ‘k’ ‘y’ “Wicked Vicky”00 String terminator01 END Name56 START GroupID03 Inline string follows77 76 3A 6A 6F 68 6E 2A 63 68 61 74 67 72 6F 75 70 4073 6D 69 74 68 2E 63 6F 6D

“wv:john*[email protected]

00 String terminator01 END GroupID01 END ScreenName01 END Group4C START ContactList03 Inline string follows77 76 3A 6A 6F 68 6E 2A 4D 79 5F 66 72 69 65 6E 64 7340 73 6D 69 74 68 2E 63 6F 6D

“wv:john*[email protected]

00 String terminator01 END ContactList01 END Recipient6C START Sender79 START User7A START UserID03 Inline string follows77 76 3A 6A 6F 68 6E 40 73 6D 69 74 68 2E 63 6F 6D “wv:[email protected]”00 String terminator01 END UserID01 END User01 END Sender51 START DateTime03 Inline string follows32 30 30 31 30 39 32 35 54 31 33 34 30 5A “20010925T1340Z”00 String terminator01 END DateTime7C START ValidityC3 Opaque data starts02 Length of data is 2 bytes02 58 Big endian 60001 END Validity01 END MessageInfo4D START ContentData03 Inline string follows48 75 72 72 79 20 75 70 3B 20 74 68 65 79 20 61 72 6520 72 69 6E 67 69 6E 67 20 74 68 65 20 62 65 6C 6C 7320 69 6E 20 74 68 65 20 57 56 20 61 6C 72 65 61 64 792E 2E 2E

“Hurry up; they are ringing the bells in theWV already…”

00 String terminator01 END ContentData01 END SendMessage-Request01 END TransactionContent01 END Transaction01 END Session01 END WV-CSP-Message

5.6.2 SendMessage-Response primitive

Token stream Description03 Version number – WBXML version 1.301 Wireless Village public document identifier6A Charset=UTF-8 (MIBEnum is 106)00 String table lengthFE START WV-CSP-Message05 xmlns=”http://www.wireless-village.org/CSP03 Inline string follows31 2E 30 22 “1.0””00 String terminator

The Wireless Village initiative: WBXML bindings and examples v1.0 WV-008

Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved.36

6D START Session6E START SessionDescriptor70 START SessionType95 Inband01 END SessionType7F START SessionID03 Inline string follows69 6D 2E 75 73 65 72 2E 63 6F 6D 23 34 38 38 3135 40 73 65 72 76 65 72 2E 63 6F 6D

“im.user.com#[email protected]

00 String terminator01 END SessionID01 END SessionDesciptor72 START Transaction74 START TransactionDescriptor76 START TransactionModeA5 Response01 END TransactionMode75 START TransactionID03 Inline string follows49 4D 41 70 70 30 31 23 31 32 33 34 35 40 4E 4F 4B35 31 31 30

“IMApp01#12345@NOK5110”

00 String terminator01 END TransactionID61 START Poll8F No (False)01 END Poll01 END TransactionDescriptorF3 START TransactionContent07 xmlns=”http://www.wireless-village.org/TRC”03 Inline string follows31 2E 30 22 “1.0””00 String terminator00 Switch code page to06 Messaging code page58 START SendMessage-Response6A START Result4B START CodeC3 Opaque data starts02 Length of data is 1 byteC8 Big endian 20001 END Code52 START Description53 75 63 63 65 73 73 66 75 6C 6C 79 20 63 6F 6D 706C 65 74 65 64 2E

“Successfully completed.”

00 String terminator01 END Description01 END Result5B START MessageID03 Inline string follows30 78 30 30 30 30 66 31 33 32 “0x0000f132”00 String terminator01 END MessageID01 END SendMessage-Response01 END TransactionContent01 END Transaction01 END Session01 END WV-CSP-Message