Sending MMS from PC to mobile using GPRS Modem

Sending MMS from PC to mobile using GPRS Modem SearchSearch
Author Message
Ikasari
New member
Username: Widiyantosg

Post Number: 1
Registered: 06-2004
Posted on Tuesday, June 29, 2004 - 03:19 am:   

Hi, I want to develop an application from PC that can send MMS to HP. I am using Nokia sample to compose the MMS and jWAP library to send it. I am connecting to SIngtel. I am confirm that I'm entering the correct username and password. but I don't know why I am always have this error.

retransmission timer: exceeded 4 time(s) --> cancel
WSP Session: TR-ABORT.REQ in STATE_CONNECTING
s-disconnect.ind
java.lang.NullPointerException
at CWSPSession.s_disconnect_ind(CWSPSession.java:274)
at CWSPSession.tr_abort(CWSPSession.java:508)
at CWTPInitiator$2.actionPerformed(CWTPInitiator.java:152)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:1 97)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150 )
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

Can somebody help me?
Ikasari
New member
Username: Widiyantosg

Post Number: 3
Registered: 06-2004
Posted on Wednesday, June 30, 2004 - 04:38 am:   

ok.. responding to my own question...
the error is caused that I haven't connect to the WAP gateway... then I tried the sample code in the jwap the CWapGetExample2.java to get the wml file and the CWapPostExample.java to post something. then I got an error when I tried to post this "something",

this is error:
Starting application C:\Documents and Settings\Administrator\My Documents\examples\CWapPostExample.class
connecting to WAP gateway /165.21.42.84
connected to WAP gateway /165.21.42.84
sending data (WSP POST)
- decodeContentType: parameter decoding not yet supported
- 'Content-Language': Header decoding not yet implemented :-(
Response Content Type: application/vnd.wap.xhtml+xml
[B@147ee05
disconnecting from WAP gateway /165.21.42.84
disconnected from WAP gateway /165.21.42.84
Interactive Session Ended

Anybody know this error? and how to solve it?