Submit a MM7 message (Urgent) | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through December 01, 2004 ⬆ |
◄ ► |
Author | Message | |||
Rafael Vasquez New member Username: Rvasquez Post Number: 11 Registered: 04-2004 |
Hello, How I can to submit the mm7 file ? Because I submit the message through Telnet with the ip and the port of the server that content de nowsms aplication, How through to the HTTP I can to put the mm7 file and to see the possibles errors in the display. This is my example: POST /mm7 HTTP/1.1 Host: mms.orangemi Content-Type: multipart/related; boundary="NextPart_000_0028_01C19839.84698430"; type=text/xml; start="<MM_7>" Content-Length: 1625 Connection: close SOAPAction: "" Content-Type:text/xml; charset="utf-8" Content-ID: <MM_7> <?xml version="1.0"?> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header> <mm7:TransactionID xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-M M7-1-3" env:mustUnderstand="1"> vas00001-sub </mm7:TransactionID> </env:Header> <env:Body> <SubmitReq xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-3"> <MM7Version>5.3.0</MM7Version> <SenderIdentification> <VASPID>VASP</VASPID> <VASID>VASP</VASID> </SenderIdentification> <Recipients> <To> <Number>199922514233</Number> </To> </Recipients> <MessageClass>Informational</MessageClass> <ExpiryDate>P90D</ExpiryDate> <DeliveryReport>true</DeliveryReport> <Priority>normal</Priority> <Subject>News for MMS today</Subject> <ChargedParty>Sender</ChargedParty> <DistributionIndicator>true</DistributionIndicator> </SubmitReq> </env:Body> </env:Envelope> --StoryParts-74526-8432-2002-77645 Content-Type: text/plain; charset="us-ascii" news of mms, tras el Oro... --StoryParts-74526-8432-2002-77645 Content-Type: image/gif Content-ID:<1.gif> Content-Transfer-Encoding: base64 And what do you think about the message because for telnet I see the error: incomplete HTTP request. Thanks... | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 3464 Registered: 10-2002 |
As I mentioned in the following thread: http://support.nowsms.com/discus/messages/485/6547.html "Incomplete HTTP request" means that NowSMS received an HTTP request that was not complete. Basically, it expects the number of bytes specified in the "content-length" header to follow the HTTP header. If it does not receive that many bytes before a timeout occurs (2 or 3 minutes is the timeout, I don't recall exactly), or the submitting side closes the connection, then you have an "incomplete HTTP request". The example above also lacks MIME boundaries in the actual content. I will post a follow-up reply to you in the other thread, and suggest we continue this discussion there rather than creating more threads here. |