×

Discussion Board

Results 1 to 3 of 3

Thread: wb2xml

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    6

    wb2xml

    LS,

    I dumped a SyncML WBXML message received from a Nokia 9210 to a file and tried to convert it into XML using the wb2xml.exe (downloaded from <http://www.forum.nokia.com/syncmlfor..._10_20,00.html>)

    Unfortunately the generated file does not contain the converted xml, but an error message instead: “Error 0x200a while parsing this document..** Error 0x200a while parsing this document..”


    The wbxml file is of course binary, but a textual representation looks like this:


    02 00 00 6A 1D - 2D 2F 2F 53 59 [___j_-//SY]
    4E 43 4D 4C 2F - 2F 44 54 44 20 [NCML//DTD ]
    53 79 6E 63 4D - 4C 20 31 2E 30 [SyncML 1.0]
    2F 2F 45 4E 6D - 6C 71 C3 03 31 [//ENmlqÃ_1]
    2E 30 01 72 C3 - 0A 53 79 6E 63 [.0_rÃ_Sync]
    4D 4C 2F 31 2E - 30 01 65 C3 01 [ML/1.0_eÃ_]
    34 01 5B C3 01 - 31 01 6E 57 C3 [4_[Ã_1_nWÃ]
    0B 31 37 32 2E - 31 36 2E 30 2E [_172.16.0.]
    33 34 01 01 67 - 57 C3 14 49 4D [34__gWÃ_IM]
    45 49 3A 33 35 - 30 31 34 39 31 [EI:3501491]
    30 31 37 36 36 - 33 33 36 01 01 [01766336__]
    5A 00 01 4C C3 - 05 31 30 30 30 [Z__LÃ_1000]
    30 01 01 01 00 - 00 6B 46 4B C3 [0_____kFKÃ]
    01 31 01 4F C3 - 03 32 30 31 01 [_1_OÃ_201_]
    54 6E 57 C3 07 - 2E 2F 67 67 68 [TnWÃ_./ggh]
    67 68 01 01 67 - 57 C3 18 2E 2F [gh__gWÃ_./]
    43 5C 53 79 73 - 74 65 6D 5C 44 [C\System\D]
    61 74 61 5C 43 - 61 6C 65 6E 64 [ata\Calend]
    61 72 01 01 5A - 00 01 45 4F C3 [ar__Z__EOÃ]
    10 32 30 30 33 - 30 39 33 30 54 [_20030930T]
    31 30 35 38 34 - 37 5A 01 01 01 [105847Z___]
    01 01 00 00 46 - 4B C3 01 32 01 [____FKÃ_2_]
    4F C3 03 32 30 - 31 01 54 6E 57 [OÃ_201_TnW]
    C3 0B 2E 2F 6B - 6F 6E 74 61 6B [Ã_./kontak]
    74 65 6E 01 01 - 67 57 C3 1C 2E [ten__gWÃ_.]
    2F 43 5C 53 79 - 73 74 65 6D 5C [/C\System\]
    44 61 74 61 5C - 43 6F 6E 74 61 [Data\Conta]
    63 74 73 2E 63 - 64 62 01 01 5A [cts.cdb__Z]
    00 01 45 4F C3 - 10 32 30 30 33 [__EOÃ_2003]
    30 39 33 30 54 - 31 30 35 38 34 [0930T10584]
    37 5A 01 01 01 - 01 01 00 00 5F [7Z________]
    4B C3 01 33 01 - 5A 00 01 53 C3 [KÃ_3_Z__SÃ]
    23 61 70 70 6C - 69 63 61 74 69 [#applicati]
    6F 6E 2F 76 6E - 64 2E 73 79 6E [on/vnd.syn]
    63 6D 6C 2D 64 - 65 76 69 6E 66 [cml-devinf]
    2B 77 62 78 6D - 6C 01 01 00 00 [+wbxml____]
    54 67 57 C3 0A - 2E 2F 64 65 76 [TgWÃ_./dev]
    69 6E 66 31 30 - 01 01 4F C3 88 [inf10__OÃ?]
    68 02 00 00 6A - 1D 2D 2F 2F 53 [h___j_-//S]
    59 4E 43 4D 4C - 2F 2F 44 54 44 [YNCML//DTD]
    20 44 65 76 49 - 6E 66 20 31 2E [ DevInf 1.]
    30 2F 2F 45 4E - 4A 65 03 31 2E [0//ENJe_1.]
    30 00 01 51 03 - 4E 4F 4B 49 41 [0__Q_NOKIA]
    00 01 55 03 39 - 32 31 30 00 01 [__U_9210__]
    5E 03 32 35 36 - 00 01 50 03 30 [^_256__P_0]
    30 00 01 49 03 - 49 4D 45 49 3A [0__I_IMEI:]
    33 35 30 31 34 - 39 31 30 31 37 [3501491017]
    36 36 33 33 36 - 00 01 4B 03 70 [66336__K_p]
    68 6F 6E 65 00 - 01 47 5D 03 2E [hone__G]_.]
    2F 43 5C 53 79 - 73 74 65 6D 5C [/C\System\]
    44 61 74 61 5C - 43 61 6C 65 6E [Data\Calen]
    64 61 72 00 01 - 52 03 38 00 01 [dar__R_8__]
    5A 46 03 74 65 - 78 74 2F 78 2D [ZF_text/x-]
    76 63 61 6C 65 - 6E 64 61 72 00 [vcalendar_]
    01 64 03 31 2E - 30 00 01 01 59 [_d_1.0___Y]
    46 03 74 65 78 - 74 2F 78 2D 76 [F_text/x-v]
    63 61 6C 65 6E - 64 61 72 00 01 [calendar__]
    64 03 31 2E 30 - 00 01 01 59 46 [d_1.0___YF]
    03 74 65 78 74 - 2F 63 61 6C 65 [_text/cale]
    6E 64 61 72 00 - 01 64 03 31 2E [ndar__d_1.]
    30 00 01 01 62 - 46 03 74 65 78 [0___bF_tex]
    74 2F 78 2D 76 - 63 61 6C 65 6E [t/x-vcalen]
    64 61 72 00 01 - 64 03 31 2E 30 [dar__d_1.0]
    00 01 01 5F 60 - 03 31 00 01 60 [____`_1__`]
    03 32 00 01 01 - 01 47 5D 03 2E [_2____G]_.]
    2F 43 5C 53 79 - 73 74 65 6D 5C [/C\System\]
    44 61 74 61 5C - 43 6F 6E 74 61 [Data\Conta]
    63 74 73 2E 63 - 64 62 00 01 52 [cts.cdb__R]
    03 38 00 01 5A - 46 03 74 65 78 [_8__ZF_tex]
    74 2F 78 2D 76 - 63 61 72 64 00 [t/x-vcard_]
    01 64 03 32 2E - 31 00 01 01 59 [_d_2.1___Y]
    46 03 74 65 78 - 74 2F 78 2D 76 [F_text/x-v]
    63 61 72 64 00 - 01 64 03 32 2E [card__d_2.]
    31 00 01 01 59 - 46 03 74 65 78 [1___YF_tex]
    74 2F 76 63 61 - 72 64 00 01 64 [t/vcard__d]
    03 33 2E 30 00 - 01 01 62 46 03 [_3.0___bF_]
    74 65 78 74 2F - 78 2D 76 63 61 [text/x-vca]
    72 64 00 01 64 - 03 32 2E 31 00 [rd__d_2.1_]
    01 01 5F 60 03 - 31 00 01 60 03 [___`_1__`_]
    32 00 01 01 01 - 45 46 03 74 65 [2____EF_te]
    78 74 2F 78 2D - 76 63 61 6C 65 [xt/x-vcale]
    6E 64 61 72 00 - 01 58 03 42 45 [ndar__X_BE]
    47 49 4E 00 01 - 58 03 45 4E 44 [GIN__X_END]
    00 01 58 03 58 - 2D 45 50 4F 43 [__X_X-EPOC]
    00 01 58 03 41 - 41 4C 41 52 4D [__X_AALARM]
    00 01 58 03 43 - 4C 41 53 53 00 [__X_CLASS_]
    01 58 03 44 43 - 52 45 41 54 45 [_X_DCREATE]
    44 00 01 58 03 - 44 45 53 43 52 [D__X_DESCR]
    49 50 54 49 4F - 4E 00 01 58 03 [IPTION__X_]
    44 54 45 4E 44 - 00 01 58 03 44 [DTEND__X_D]
    54 53 54 41 52 - 54 00 01 58 03 [TSTART__X_]
    44 55 45 00 01 - 58 03 45 58 44 [DUE__X_EXD]
    41 54 45 00 01 - 58 03 4C 41 53 [ATE__X_LAS]
    54 2D 4D 4F 44 - 49 46 49 45 44 [T-MODIFIED]
    00 01 58 03 50 - 52 49 4F 52 49 [__X_PRIORI]
    54 59 00 01 58 - 03 52 52 55 4C [TY__X_RRUL]
    45 00 01 58 03 - 53 55 4D 4D 41 [E__X_SUMMA]
    52 59 00 01 58 - 03 55 49 44 00 [RY__X_UID_]
    01 58 03 56 45 - 52 53 49 4F 4E [_X_VERSION]
    00 01 01 45 46 - 03 74 65 78 74 [___EF_text]
    2F 63 61 6C 65 - 6E 64 61 72 00 [/calendar_]
    01 58 03 42 45 - 47 49 4E 00 01 [_X_BEGIN__]
    58 03 45 4E 44 - 00 01 58 03 58 [X_END__X_X]
    2D 45 50 4F 43 - 00 01 58 03 41 [-EPOC__X_A]
    41 4C 41 52 4D - 00 01 58 03 43 [ALARM__X_C]
    4C 41 53 53 00 - 01 58 03 44 43 [LASS__X_DC]
    52 45 41 54 45 - 44 00 01 58 03 [REATED__X_]
    44 45 [DE]

    53 43 52 49 50 - 54 49 4F 4E 00 [SCRIPTION_]
    01 58 03 44 54 - 45 4E 44 00 01 [_X_DTEND__]
    58 03 44 54 53 - 54 41 52 54 00 [X_DTSTART_]
    01 58 03 44 55 - 45 00 01 58 03 [_X_DUE__X_]
    45 58 44 41 54 - 45 00 01 58 03 [EXDATE__X_]
    4C 41 53 54 2D - 4D 4F 44 49 46 [LAST-MODIF]
    49 45 44 00 01 - 58 03 50 52 49 [IED__X_PRI]
    4F 52 49 54 59 - 00 01 58 03 52 [ORITY__X_R]
    52 55 4C 45 00 - 01 58 03 53 55 [RULE__X_SU]
    4D 4D 41 52 59 - 00 01 58 03 55 [MMARY__X_U]
    49 44 00 01 58 - 03 56 45 52 53 [ID__X_VERS]
    49 4F 4E 00 01 - 01 45 46 03 74 [ION___EF_t]
    65 78 74 2F 78 - 2D 76 63 61 72 [ext/x-vcar]
    64 00 01 58 03 - 42 45 47 49 4E [d__X_BEGIN]
    00 01 58 03 45 - 4E 44 00 01 58 [__X_END__X]
    03 41 44 52 00 - 01 58 03 42 44 [_ADR__X_BD]
    41 59 00 01 58 - 03 45 4D 41 49 [AY__X_EMAI]
    4C 00 01 58 03 - 4C 41 42 45 4C [L__X_LABEL]
    00 01 58 03 4C - 4F 47 4F 00 01 [__X_LOGO__]
    58 03 4E 00 01 - 58 03 4E 4F 54 [X_N__X_NOT]
    45 00 01 58 03 - 4F 52 47 00 01 [E__X_ORG__]
    58 03 50 48 4F - 54 4F 00 01 58 [X_PHOTO__X]
    03 52 45 56 00 - 01 58 03 53 4F [_REV__X_SO]
    55 4E 44 00 01 - 58 03 54 45 4C [UND__X_TEL]
    00 01 58 03 54 - 49 54 4C 45 00 [__X_TITLE_]
    01 58 03 55 49 - 44 00 01 58 03 [_X_UID__X_]
    55 52 4C 00 01 - 58 03 56 45 52 [URL__X_VER]
    53 49 4F 4E 00 - 01 01 45 46 03 [SION___EF_]
    74 65 78 74 2F - 76 63 61 72 64 [text/vcard]
    00 01 58 03 42 - 45 47 49 4E 00 [__X_BEGIN_]
    01 58 03 45 4E - 44 00 01 58 03 [_X_END__X_]
    41 44 52 00 01 - 58 03 42 44 41 [ADR__X_BDA]
    59 00 01 58 03 - 45 4D 41 49 4C [Y__X_EMAIL]
    00 01 58 03 4C - 41 42 45 4C 00 [__X_LABEL_]
    01 58 03 4C 4F - 47 4F 00 01 58 [_X_LOGO__X]
    03 4E 00 01 58 - 03 4E 4F 54 45 [_N__X_NOTE]
    00 01 58 03 4F - 52 47 00 01 58 [__X_ORG__X]
    03 50 48 4F 54 - 4F 00 01 58 03 [_PHOTO__X_]
    52 45 56 00 01 - 58 03 53 4F 55 [REV__X_SOU]
    4E 44 00 01 58 - 03 54 45 4C 00 [ND__X_TEL_]
    01 58 03 54 49 - 54 4C 45 00 01 [_X_TITLE__]
    58 03 55 49 44 - 00 01 58 03 55 [X_UID__X_U]
    52 4C 00 01 58 - 03 56 45 52 53 [RL__X_VERS]
    49 4F 4E 00 01 - 01 01 01 01 01 [ION_______]
    53 4B C3 01 34 - 01 5A 00 01 53 [SKÃ_4_Z__S]
    C3 23 61 70 70 - 6C 69 63 61 74 [Ã#applicat]
    69 6F 6E 2F 76 - 6E 64 2E 73 79 [ion/vnd.sy]
    6E 63 6D 6C 2D - 64 65 76 69 6E [ncml-devin]
    66 2B 77 62 78 - 6D 6C 01 01 00 [f+wbxml___]
    00 54 6E 57 C3 - 0A 2E 2F 64 65 [_TnWÃ_./de]
    76 69 6E 66 31 - 30 01 01 01 01 [vinf10____]
    12 01 01 [___]

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    9

    Capture BIO SMS to configure GPRS settings

    hi!
    Did you succeed in converting the WBXML received as SMS. I tried to catch the contents of the SMS and stored it in a file and tried to parse it. I also get error "Unknown Public Id". Is there any specifics to capture the content of BIO SMS? Is it related to ANSI, unicode conversion?

    Anyone have code snippet to do this for series 60 mobile using Symbian C++?

    Correct me if am wrong anywhere....

    Please reply.

    Thanks in advance
    kgvb

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2003
    Posts
    4,105
    You should study the WBXML specification.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •