cannot recieve mms using jwap and nokia mmslibrary?

Hammad Ahmed

New member
class Main{public static void main (String[] args) {
try { //CWapPostExample poster = new CWapPostExample(InetAddress.getByName("IpAddressOfYourWapGateway"), 9201,"http://IpOfYourMMSC","This data should represent a correctly encoded Multimedia Message according to MMSE".getBytes(),"application/vnd.wap.mms-message");
CWapPostExample poster = new CWapPostExample(InetAddress.getByName("209.160.66.215"),9201,"http://10.4.0.132/servlets/mms",ob.readFile("sample.mms"),"application/vnd.wap.mms-message");
} catch (UnknownHostException ex) {
ex.printStackTrace();
}
}
}

output:
connecting to WAP gateway /209.160.66.215
connected to WAP gateway /209.160.66.215
sending data (WSP POST)
Response Content Type: application/vnd.wap.wmlc
[B@f11404
disconnecting from WAP gateway /209.160.66.215
disconnected from WAP gateway /209.160.66.215


tell me what i am missing why my mms file is not receives
 
Back
Top