SL documents are encoded to SI | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through April 10, 2005 ⬆ |
◄ ► |
Author | Message | ||||
Nambu New member Username: Nambu Post Number: 20 Registered: 08-2004 |
Hi Bryce, I sent the SL document made with Nokia Mobile Internet Toolkit 4.1 to my SMSC by using "Send XML Settings Document" of Web Interface. However, the data that my SMSC had received was SIC. All documents have been encoded to SIC though I tried with some SL documents. Why did not NowSMS encode the documents to SLC? I append one of the tried documents. And the data that my SMSC recieved is follows. --------------------- 0605040B8423F0 = UDH D40601B0 = WSP Header 02 = WBXML version 1.2 05 = SI 1.0 Public Identifier !!!!! 6A = charset 00 = String C5 = SI/SL with attributes & content 0A03686F67652E636F6D00 = href="http://www.hoge.com" <- SL format 07 = signal-medium(SI) or cache(SL) 01 = END 01 = END ---------------------
And... The error that the SL tag is not found if the following processing is not added to the SL document made with NMIT goes out. ---------- Original(Error) ---------- <sl href="http://www.hoge.com" action="cache"> ---------- Rewrite(no error) ---------- <sl href="http://www.hoge.com" action="cache"> | ||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 3944 Registered: 10-2002 |
Hi Nambu, You are correct. We are setting the correct content type correctly, but we are not setting the WBXML document id correctly. In practice, the content type is more important than the WBXML document id, which is why the SL was still working on most devices. An update to correct this has been posted to http://www.nowsms.com/download/latestpatch.zip. As to your example of the SL tag not being found, that is correct. When we scan the XML to determine the content type, we will not recognise "<sl" if it is followed immediately by a line break. Your second example will work, but the first will not be recognised as an SL document. This is only a problem when using the "XML Settings" interface. If you submit the push via PAP (Push Access Protocol), the content type would be read from a header. -bn | ||||
Nambu New member Username: Nambu Post Number: 21 Registered: 08-2004 |
Hi Bryce, I tested the patch, and confirmed the bug was solved. Thank you. By the way, Will the upcoming version be released in a few days because the name of this file is "last patch" ? | ||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 3957 Registered: 10-2002 |
It's just the way we are naming the link at the moment, as there have been too many different interim patches referenced by forum links lately. More details on the update can be found at: http://support.nowsms.com/discus/messages/53/8153.html |