Sending MMS over MM7 connection withe GSMO without any API | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through August 08, 2004 ⬆ |
◄ ► |
Author | Message | |||
amjad salamah New member Username: Amjadsalamah Post Number: 1 Registered: 04-2004 |
I have send this MMS to SMSC POST xxxx HTTP/1.1 Authorization: BASIC xxxxxxxxxxx SOAPAction: "" Content-length: 2018 Content-type: multipart/related; boundary="---mime-boundary-B076E19F.B217F560---" Connection: close User-Agent: Java/1.4.1_02 Host: xxxxxxxxxxxxxxxx Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 -----mime-boundary-B076E19F.B217F560--- Content-type: text/xml; charset=utf-8 Content-ID: <mms_cid1> <?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-MM7-1-0" env:mustUnderstand="1"> 20031028/11/C72C9123@nowsms.no-ip.com </mm7:TransactionID> </env:Header> <env:Body> <mm7:SubmitReq xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0"> <MM7Version>5.3.0</MM7Version> <SenderIdentification> <SenderAddress>5235588/TYPE=PLMN</SenderAddress> </SenderIdentification> <Recipients> <To><Number>5235588</Number></To> </Recipients> <Priority>Normal</Priority> <DeliveryReport>True</DeliveryReport> <ReadReply>False</ReadReply> <Subject>Multimedia Message</Subject> <Content href="cid:mms_cid" /> </mm7:SubmitReq> </env:Body> </env:Envelope> -----mime-boundary-B076E19F.B217F560--- Content-type: multipart/related; start=<2004161650>; type=application/smil; boundary="---mime-boundary-93D4E3E1.71BD3D22---" Content-ID: <mms_cid> -----mime-boundary-93D4E3E1.71BD3D22--- Content-type: text/plain; name="Quick_te.txt" Content-location: Quick_te.txt Quick test -----mime-boundary-93D4E3E1.71BD3D22--- Content-type: application/smil; charset=utf-8; name="pres.smil" Content-ID: <2004161650> Content-transfer-encoding: quoted-printable <smil xmlns="http://www.w3.org/2000/SMIL20/CR/Language"> <head> <layout> <root-layout height="208" width="176" /> <region id="Text" height="100%" width="100%" left="0%" top="0%" fit="scroll" /> </layout> </head> <body> <par dur="20000ms"> <text src="Quick_te.txt" region="Text" /> </par> </body> </smil> -----mime-boundary-93D4E3E1.71BD3D22----- -----mime-boundary-B076E19F.B217F560----- And this what i got <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><TransactionID xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0" env:mustUnderstand="1"></TransactionID></env:Header><env:Body><SubmitRsp xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0"><MM7Version>5.3.0</MM7Version><Status><StatusCode>3000</StatusCode><StatusText >Server Error</StatusText></Status></SubmitRsp></env:Body></env:Envelope> what is the wrong in the Request. any one have good example. and what is the partes send in the HttpRequestHeader and what is the Partes Send In HttpRequestBody Regards Salamah amjad@itp.com.jo | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2505 Registered: 10-2002 |
I'd start by asking your service provider for some clarification. At a quick glance, everything appears correct ... except that you better have blank lines after each set of MIME headers ... of course, I could be missing some small nuance. The definition of the "3000" error code is "The server failed to fulfill an apparently valid request". So in the case of such an error, I'd definitely ask the service provider what is going wrong. |