I'm trying to program an application that can send MMS from PC to handphone by using Nokia MMS Java Library to compose the MMS and jWAP library to send the thing. but I'm stuck with the below error. Can somebody help me on how to do it? Thank you for your explanation.
connecting to WAP gateway /22.214.171.124
connected to WAP gateway /126.96.36.199
out:[B@1ad086a //my byte file
sending data (WSP POST)
- retransmission timer: exceeded 4 time(s) --> cancel
at net.sourceforge.jwap.wsp.CWSPSession.s_disconnect_ind(Unknown Source)
at net.sourceforge.jwap.wsp.CWSPSession.tr_abort(Unknown Source)
at net.sourceforge.jwap.wtp.CWTPInitiator$2.actionPerformed(Unknown Source)
The error is because, I program my application so that the MMSC can reply something like an acknowledgement when it receives my file. Since I can not get any acknowledgement, therefore, I assume that I have not connect to MMSC yet.
So my next question is how to connect to MMSC? Do we have to put something in the header? If yes, what the header? any sample code?