Sending XML settings as binary data

Sending XML settings as binary data SearchSearch
Author Message
Jaroslaw Marek
New member
Username: Jarek

Post Number: 1
Registered: 05-2008
Posted on Thursday, May 08, 2008 - 03:30 pm:   

Hello,
I have a strange situation while testing NowSMS gateway.
I'm able to send XML configuration file via NowSMS web interface, but I cannot send it as binary messages.

I findout from logs that messages are exactly same (of course one HEX parameter in UDH is different for separate messages).

Log entries when sending via NowSMS web interface:

SAR-48604900452-10-3-1.req...
0041000B818406940054F200F58C 0B05040B8423F00003100301 100601B6030B6A00C54503312E310001C60001550187360603773930313000018707060348616C6F 5377696174000187050341505052454600060348616C6F537769617400018738060348616C6F5377 69617400018705035054595045000603494554460001870503505549440006036A6172656B767073 407369702E68616C

SAR-48604900452-10-3-2.req...
0041000B818406940054F200F58C 0B05040B8423F00003100302 6F73776961742E706C0001872201873706035544500001C65601873406037369702E68616C6F7377 6961742E706C0001C65301872306033530363000010101C65701873106036A6172656B7670730001 873206037670736A6172656B0001872F0603566F6970537769746368000101C65901873A06037369 702E68616C6F7377

SAR-48604900452-10-3-3.req...
0041000B818406940054F200F556 0B05040B8423F00003100303 6961742E706C3A353036303B7472616E73706F72743D5544500001873106036A6172656B76707300 01873206037670736A6172656B0001872F0603566F69705377697463680001010101


Log entries while sending as binary message:

4822F813.req...
0041000B818406940054F200F58C 0B05040B8423F00003BB0301 BB0601B6030B6A00C54503312E310001C60001550187360603773930313000018707060348616C6F 5377696174000187050341505052454600060348616C6F537769617400018738060348616C6F5377 69617400018705035054595045000603494554460001870503505549440006036A6172656B767073 407369702E68616C

4822F814.req...
0041000B818406940054F200F58C 0B05040B8423F00003BB0302 6F73776961742E706C0001872201873706035544500001C65601873406037369702E68616C6F7377 6961742E706C0001C65301872306033530363000010101C65701873106036A6172656B7670730001 873206037670736A6172656B0001872F0603566F6970537769746368000101C65901873A06037369 702E68616C6F7377

4822F815.req...
0041000B818406940054F200F556 0B05040B8423F00003BB0303 6961742E706CA3353036303B7472616E73706F72743D5544500001873106036A6172656B76707300 01873206037670736A6172656B0001872F0603566F69705377697463680001010101



Only difference i see is in file called SMSWEB :

*,,SAR-48604900452-10-3-1.req,OMAOTA
*,,SAR-48604900452-10-3-2.req,OMAOTA
*,,SAR-48604900452-10-3-3.req,OMAOTA
*,,4822F812.req,Binary
*,,4822F813.req,Binary
*,,4822F814.req,Binary

Please help me with this.
Regards,
Jaroslaw Marek
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7608
Registered: 10-2002
Posted on Friday, June 13, 2008 - 10:27 pm:   

My guess is that when you submit the messages as binary, the UDH is not being submitted as a separate field.

This part is the UDH:

0B05040B8423F00003100301