Please Help

Please Help SearchSearch
Author Message
Anonymous
 
Posted on Friday, January 16, 2004 - 01:49 pm:   

when i send a Read_Reply_Rec_Req. from a Java Client to MMS Server i get A HTTP Response code 406 for the URl http://192.168.11.11:8088/mms/

can any body tell why i am getting this problem
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1645
Registered: 10-2002
Posted on Friday, January 16, 2004 - 03:36 pm:   

406 is normally returned when the content type is not acceptable. The "Accept:" header that your client generates specifies the content types that you will accept in a response. A 406 error means that the content type of the response is not in your "Accept:" header. (Note: You can include */* in your Accept: header to allow any content type to be returned.)

In this particular case, my suspicion is that the MMSC does not support MMS 1.1. The M-Read-Rec.ind PDU was introduced in MMS 1.1, and MMS 1.1 is currently not very widely implemented.

-bn
nitin Gupta
Unregistered guest
Posted on Saturday, January 17, 2004 - 11:15 am:   

Thanks Bryce.I have two more doubt.Please Help.
1. In the MM1_Notification.Res PDU if i set Report Allowed field yes then should MMSC server generate MM1_delivery_report.REQ or MMSC server should generate MM1_delivery_report.REQ only after recipiet of MM1_acknowledgement.REQ.

2. If the MM Status is Retrieved then MMS Client should generate MM1_Notification.Res automatically or manually.Thanks in Advance.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1677
Registered: 10-2002
Posted on Monday, January 19, 2004 - 07:54 pm:   

1.) If your "M-NotifyResp.ind" PDU includes an "X-Mms-Status" of "Retrieved", then there is no need to send a separate "M-Acknowledge.ind" PDU.

The "M-Acknowledge.ind" PDU is only used if your MMS client wants to acknowledge receipt of the "M-notification.ind", but actually retrieve the message later. In that case the client generates "M-NotifyResp.ind" with "X-Mms-Status: Deferred", and it generates the "M-Acknowledge.ind" at a later time after the message is retrieved.

Most MMS client implementations that I have seen do not generate "M-Acknowledge.ind", they simply generate "M-NotifyResp.ind" with Retrieved status after retrieving the MMS message.

So the MMSC would generate a notification after "M-NotifyResp.ind" with retrieved status, or after "M-Acknowledge.ind".

2.) "M-NotifyResp.ind" should be generated automatically. If you do not generate this, many MMSCs will keep sending you notifications for the message.