Hi,

I am sending SyncML settings using sendota cgi, But on my handset I receive
"message format no supported".

My Sending URL:
==============
http://127.0.0.1/cgi-bin/sendota?username=me&password=itismeagain&to=$msisdn&text=$omadoc&type=settings&pin=1234&sec=userpin

My OMA Prov Doc:
==============
<wap-provisioningdoc>

<characteristic type="BOOTSTRAP">
    <parm name="NAME" value="MySync"/>
</characteristic>

<characteristic type="APPLICATION">
    <parm name="APPID" value="w5"/>
    <parm name="TO-NAPID" value="INTERNET"/>
    <parm name="NAME" value="MySync"/>
    <parm name="ADDR" value="http://127.0.0.1:8080/funambol/ds"/>

    <characteristic type="RESOURCE">
        <parm name="URI" value="card"/>
        <parm name="NAME" value="Contacts DB"/>
        <parm name="AACCEPT" value="text/x-vcard"/>
    </characteristic>

    <characteristic type="APPAUTH">
        <parm name="AAUTHNAME" value="yourname"/>
        <parm name="AAUTHSECRET" value="itisnome"/>
    </characteristic>

</characteristic>
</wap-provisioningdoc>
-----------------------------------------------------

Note: I've tested this prov doc with NowSMS and it's working.

>From smsbox logs:
=============
2009-06-12 10:37:25 [9674] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendota> from <127.0.0.1>
2009-06-12 10:37:25 [9674] [3] INFO: sendsms used by <user7153>
2009-06-12 10:37:25 [9674] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'BOOTSTRAP'.
2009-06-12 10:37:25 [9674] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'APPLICATION'.
2009-06-12 10:37:25 [9674] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'RESOURCE'.
2009-06-12 10:37:25 [9674] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'APPAUTH'.
2009-06-12 10:37:25 [9674] [3] INFO: /cgi-bin/sendota: XML request for
target <+6777776>
2009-06-12 10:37:25 [9674] [3] INFO: /cgi-bin/sendota <<default>> <+6777776>
----------------------------------------------------------------------------------------------------

And I have tested setting url parameter "type=oma-settings" also
"type=syncsettings" with no luck.

smsbox logs when using "type=oma-settings" (no message received on my
handset here) :
================================
2009-06-12 10:36:26 [9674] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendota> from <127.0.0.1>
2009-06-12 10:36:26 [9674] [3] INFO: sendsms used by <user7153>
2009-06-12 10:36:26 [9674] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'BOOTSTRAP'.
2009-06-12 10:36:26 [9674] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'APPLICATION'.
2009-06-12 10:36:26 [9674] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'RESOURCE'.
2009-06-12 10:36:26 [9674] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'APPAUTH'.
2009-06-12 10:36:26 [9674] [3] WARNING: OMA ProvCont: No SSL Support,
'oma-settings' not supported! <<======<<
2009-06-12 10:36:26 [9674] [3] INFO: /cgi-bin/sendota: XML request for
target <+6777776>
2009-06-12 10:36:26 [9674] [3] INFO: /cgi-bin/sendota <<default>> <+6777776>


TIA

Benaiad

Reply via email to