Encoding API

Encoding API SearchSearch
Author Message
Dario
Unregistered guest
Posted on Monday, February 02, 2004 - 02:50 pm:   

hi all,
i'm developing for my comany an API java to encode a wap service indication message and a service loader msg.
i encode correctly the message content(url, dates, siid,.....) but now i have to add an header and i have some problems.

i read attentively the discussions on the forum but i don't understand really well the meaning of the headers because it's the first time i work with WAP and i have some difficulties with the specifications.i start with my questions:

Is the wdp header always 0605040B8423F0 for a service indication?

what is this after? the wsp header?

06 Push PDU Type
22 Header Len
6170706C69636174696F6E2F766E642E7761702E6D6D732D6D65737361676500AF84 (is this the content id? what is like for the service indication?)
content-ID: application/vnd.wap.mms-message
AF84
AF X-Wap-Application-ID type=2F (+80)
84 x-wap-application:mms.ua=04 (+80)

after this i think that the service indication description will start

can i use always 02 05 6A 00 as header?

i know my questions show that i didn't really understand the whole standard,could you suggest me some documentation about encoding the header,please?

thank you very much

Dario