Problem send mms message via HTTP post

Problem send mms message via HTTP post SearchSearch
Author Message
Kenshin
Unregistered guest
Posted on Thursday, July 14, 2005 - 09:01 am:   

Hi, all.

I would like to programming send mms message via http1.1 POST at my PC Phone emulator.

So I generate m-send.req PDU, and I send this PDU to NowSms MMSC server.

POST / HTTP/1.1
Accept: application/vnd.wap.mms-message
Accept-Charset: utf-8, iso-8859-1
Content-Type: application/vnd.wap.mms-message
Connection: Close
Host: 211.49.45.218:8090
Transfer-Encoding: chunked

** M-send.req Part


I expected M-Send.conf Meessage. But received message is "Unknown request : content type is unknown"

I don't know what problem gose on.

I wish work My emulator just like Target Phone using MM1 Interface.

Thank you
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4660
Registered: 10-2002
Posted on Wednesday, July 27, 2005 - 05:12 pm:   

I'd probably have to see the MMSCDEBUG.LOG or possibly an Ethereal trace in order to troubleshoot this.

For that error type to be returned, we either couldn't parse the content type out of your header, or we couldn't parse the "X-MMS-Message-Type:" header out of the MMS request that is in the body of the post.

I also see that you are making a chunked request, so the issue could be related to chunking as well. If you are using a version prior to v5.51b, there were some issues where chunked requests were not always decoded properly. v5.51b details here: http://support.nowsms.com/discus/messages/53/9502.html

-bn
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4661
Registered: 10-2002
Posted on Wednesday, July 27, 2005 - 05:18 pm:   

P.S. - If you get past this issue, the next issue that you are going to face is that the server has no way of identifying who you are based upon your request.

So, you'll get an m-send-conf response with an error about an unresolved sender.

See the following links about how the MMSC identifies what user is submitting a message:

http://www.nowsms.com/documentation/ProductDocumentation/mms_notifications_and_c ontent/MMSC_Messaging_Server.htm
http://www.nowsms.com/support/bulletins/tb-nowsms-002.htm

-bn