Client-Server Protocol Binary XML Definition and Examples

Client-Server Protocol Binary XML Definition and Examples

Client-Server Protocol Binary XML definition and Examples Version 1.1 WV Internal Tracking Number: WV-027 Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved. The Wireless Village initiative: WBXML bindings and examples v1.1 WV-027 Notice Copyright © 2001-2002 Ericsson, Motorola and Nokia. All Rights Reserved. Implementation of all or part of any Specification may require licenses under third party intellectual property rights, including without limitation, patent rights (such a third party may or may not be a Supporter). The Sponsors of the Specification are not responsible and shall not be held responsible in any manner for identifying or failing to identify any or all such third party intellectual property rights. THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN ARE PROVIDED ON AN "AS IS" BASIS WITHOUT WARRANTY OF ANY KIND AND ERICSSON, MOTOROLA and NOKIA DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL ERICSSON, MOTOROLA or NOKIA BE LIABLE TO 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 NY KIND IN CONNECTION WITH THIS DOCUMENT OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE. The above notice and this paragraph must be included on all copies of this document that are made. Intellectual Property Rights have been asserted or conveyed in some manner toward these Wireless Village specifications. The Wireless Village initiatives' intellectual property rights guidelines are defined in Section 5.1 of the Wireless Village Specification Supporter Agreement. The Wireless Village initiative takes no position regarding the validity or scope of any intellectual property right or other rights that might be claimed to pertain to the implementation or use of the technology, or the extent to which any license under such rights might or might not be available. A public listing of all claims against the Wireless Village specifications, as well as an excerpt of Section 5.1 of the Wireless Village Specification Supporter Agreement, can be found at: http://www.wireless-village.org/ipr.html Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved. i The Wireless Village initiative: WBXML bindings and examples v1.1 WV-027 Table of contents 1. Revision History .......................................................................................................1 2. References...............................................................................................................2 3. Token definitions ......................................................................................................3 3.1 Public document identifier ................................................................................3 3.2 Tag code pages ................................................................................................3 3.2.1 Common code page (0x00).......................................................................4 3.2.2 Access code page (0x01)..........................................................................6 3.2.3 Service code page (0x02) .........................................................................8 3.2.4 Client capability code page (0x03) ............................................................9 3.2.5 Presence primitive code page (0x04) .....................................................10 3.2.6 Presence attribute code page (0x05) ......................................................11 3.2.7 Messaging code page (0x06) ..................................................................13 3.2.8 Group code page (0x07) .........................................................................14 3.3 Attribute start tokens .......................................................................................14 3.4 Element value tokens .....................................................................................15 3.4.1 Common value tokens.............................................................................15 3.4.2 Access value tokens ................................................................................16 3.4.3 Presence value tokens ............................................................................16 3.5 Extended presence.........................................................................................17 4. Data types ..............................................................................................................18 4.1 Character ........................................................................................................18 4.2 Integer .............................................................................................................18 4.3 Boolean ...........................................................................................................19 4.4 String...............................................................................................................19 4.5 Binary data ......................................................................................................19 4.6 Date and time..................................................................................................20 4.7 Structures........................................................................................................21 5. Examples................................................................................................................22 5.1 Status primitive with details ............................................................................22 5.2 Polling-Request primitive ................................................................................24 5.3 2-way login transaction...................................................................................24 5.3.1 Login-Request primitive...........................................................................24 5.3.2 Login-Response primitive........................................................................26 5.4 4-way login transaction...................................................................................28 5.4.1 Login-Request primitive...........................................................................28 5.4.2 Login-Response primitive........................................................................29 5.4.3 Login-Request primitive...........................................................................31 5.4.4 Login-Response primitive........................................................................32 5.5 Service negotiation transaction ......................................................................34 5.5.1 Service-Request primitive .......................................................................34 5.5.2 Service-Response primitive ....................................................................35 5.6 Send message transaction.............................................................................37 5.6.1 SendMessage-Request primitive ............................................................37 5.6.2 SendMessage-Response primitive .........................................................39 Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved. ii The Wireless Village initiative: WBXML bindings and examples v1.1 WV-027 1. REVISION HISTORY Date Issue Description Author February 13th TBD Initial release WV TechComm July 31, 2002 V1.1 WV TechComm Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved. 1 The Wireless Village initiative: WBXML bindings and examples v1.1 WV-027 2. REFERENCES [ISO8601] ISO 8601 International Standard, Second Edition. Data elements an interchange formats – Information interchange – Representation of dates 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 Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved. 2 The Wireless Village initiative: WBXML bindings and examples v1.1 WV-027 3. TOKEN DEFINITIONS 3.1 PUBLIC DOCUMENT IDENTIFIER A public document identifier has been reserved on the W@P forum so that the parsers 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. For experimental purposes, the value 0x01 is used. 3.2 TAG CODE PAGES The global code page is too small to put all of the tokens into the same tag code page. The tags are divided into smaller code pages: · Code page 0x00 contains the common tags, which are used in several transactions. · 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. Copyright © 2001-2002 Ericsson, Motorola and Nokia. All rights reserved. 3 The Wireless Village initiative:

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    43 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us