Missing content type | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through April 10, 2006 ⬆ |
◄ ► |
Author | Message | |||
Anonymous |
Hello. I'm using Ericsson-vasp-mm7 emulator of MMSC. I've created an application which sends HTTP POST requests to MMSC emulator. I've tried posting a message shown here http://support.nowsms.com/discus/messages/12/1044.h tml . What I receive is "SOAP-ENV:Protocol Missing content type. /vasp/servlet/messagerouter" error HTTP/1.1 500 Internal Server Error. Here what is sent: POST /vasp/servlet/messagerouter HTTP/1.0 Host: localhost:8080 Content-Type: multipart/related; boundary="---mime-boundary-B076E19F.B217F560---"; type=text/xml; start="MM_7" Content-Length: 2008 SOAPAction: "" -----mime-boundary-B076E19F.B217F560--- 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-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> <VASPID>VASP_TEST</VASPID> <VASID>VAS_TEST</VASID> </SenderIdentification> <Recipients> <To><Number>+15166771001</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; Content-ID:<text.txt> Content-location:text.txt my test message -----mime-boundary-93D4E3E1.71BD3D22--- Content-type: application/smil; charset=utf-8; name="pres.smil" Content-ID: <2004161650> <smil xmlns="http://www.w3.org/2000/SMIL20/CR/Language"> <head> <layout> <root-layout height="208" width=3D"176" /> <region id="Text" height="100%" width=3D"100%" left=3D"0%" top=3D"0%" fit=3D"s= croll" /> </layout> </head> <body> <par dur="20000ms"> <text src="Quick_te.txt" region=3D"Text" /> </par> </body> </smil> -----mime-boundary-93D4E3E1.71BD3D22----- -----mime-boundary-B076E19F.B217F560----- What do I do wrong? Thanks in advance. Regards | |||
Anonymous |
deleted by admin 611 |