MM7 Posting problem to MMSC | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through June 06, 2005 ⬆ |
◄ ► |
Author | Message | |||
Shehzad Unregistered guest |
Hi, I am posting MM7 to NowSMS MMSC. And i have noticed that it works fine if the number contains a plus(+) sign. and it doesnt work with number without plus sign. Which leads to the conclusion that proper soap packet is not parsed. Please have a look at the two Similar MM7 files below. The File 1 contains "+" in recipients tag while others not. Moreover how can i add Email address and Multiple recipients. I have used the Number tage for multiple numbers but the plus sign issue remains /////////////////File1/////////////////// POST /mm7 HTTP/1.1 Host:192.168.0.231 Content-type: multipart/mixed; boundary="mime-boundary-ae3dac92-94ff-4389-8f4a-9e81e2570320";type=text/xml; start="MM_7" Content-Length: 2834 Connection: close SOAPAction: "" --mime-boundary-ae3dac92-94ff-4389-8f4a-9e81e2570320 Content-type:text/xml; charset=utf-8 Content-ID:MM_7 <?xml version='1.0' ?> <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Header> <h3:TransactionID xsi:type="SOAP-ENC:string" SOAP-ENV:mustUnderstand="1" xmlns:h3="MM7" SOAP-ENC:root="1">TID</h3:TransactionID> </SOAP-ENV:Header> <SOAP-ENV:Body> <a1:SubmitReq id="ref-1" xmlns:a1="http://schemas.microsoft.com/clr/nsassem/MMSComposition/MMSCompose"> <MM7Version xsi:null="1"/> <SenderIdentification> <VASPID>12312</VASPID> <VASID>12222</VASID> </SenderIdentification> <SenderAddress></SenderAddress> <Recipients> <To><Number>+923335181139</Number></To> <Cc><Number>+923335181139</Number></Cc> <Bcc><Number>+923335181139</Number></Bcc> </Recipients> <ServiceCode xsi:null="1"/> <LinkedID xsi:null="1"/> <MessageClass>personal</MessageClass> <TimeStamp>2005-05-23T09:52:04.6953125+05:00</TimeStamp> <ExpiryDate>2005-05-23T09:52:04.6953125+05:00</ExpiryDate> <EarliestDeliveryTime>2005-05-23T09:52:04.6953125+05:00</EarliestDeliveryTime> <DeliveryReport>false</DeliveryReport> <ReadReply>false</ReadReply> <ReplyCharging>false</ReplyCharging> <replyDeadline xsi:null="1"/> <replyChargingSize xsi:null="1"/> <Priority>high</Priority> <Subject>Test Message </Subject> <allowAdaptations>false</allowAdaptations> <ChargedParty xsi:null="1"/> <DistributionIndicator>false</DistributionIndicator> <Content xsi:null="1"/> <ContentType xsi:null="1"/> <Content href="cid:mms_cid" /> </a1:SubmitReq> <SOAP-ENC:Array id="ref-5" SOAP-ENC:arrayType="xsd:string[1]"> <item>923335181139</item> </SOAP-ENC:Array> </SOAP-ENV:Body> </SOAP-ENV:Envelope> --mime-boundary-ae3dac92-94ff-4389-8f4a-9e81e2570320 Content-type:multipart/related; start=<mysmil.smil>; boundary="mime-boundary-f501d045-0eac-4ea6-bb29-57d82fa55f4f" Content-ID:<mms_cid> --mime-boundary-f501d045-0eac-4ea6-bb29-57d82fa55f4f Content-type:application/smil; Content-ID: <mysmil.smil> <smil> <head> <meta name="SDK USED" content="Mobile Technologies"/> <meta name="CopyRight" content=""/> <layout> <root-layout width="200%" height="200%"/> <region id="defaultImage" width="100%" height="50%" left="0" top="0" fit="fill"/> <region id="defaultText" width="100%" height="50%" left="0" top="50%" fit="hidden"/> </layout> </head> <body> </body> </smil> --mime-boundary-f501d045-0eac-4ea6-bb29-57d82fa55f4f-- --mime-boundary-ae3dac92-94ff-4389-8f4a-9e81e2570320-- //////////////////////END////////////////////////// /////////////////////File 2////////////////////// POST /mm7 HTTP/1.1 Host:192.168.0.231 Content-type: multipart/mixed; boundary="mime-boundary-ae3dac92-94ff-4389-8f4a-9e81e2570320";type=text/xml; start="MM_7" Content-Length: 2834 Connection: close SOAPAction: "" --mime-boundary-ae3dac92-94ff-4389-8f4a-9e81e2570320 Content-type:text/xml; charset=utf-8 Content-ID:MM_7 <?xml version='1.0' ?> <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Header> <h3:TransactionID xsi:type="SOAP-ENC:string" SOAP-ENV:mustUnderstand="1" xmlns:h3="MM7" SOAP-ENC:root="1">TID</h3:TransactionID> </SOAP-ENV:Header> <SOAP-ENV:Body> <a1:SubmitReq id="ref-1" xmlns:a1="http://schemas.microsoft.com/clr/nsassem/MMSComposition/MMSCompose"> <MM7Version xsi:null="1"/> <SenderIdentification> <VASPID>12312</VASPID> <VASID>12222</VASID> </SenderIdentification> <SenderAddress></SenderAddress> <Recipients> <To><Number>923335181139</Number></To> <Cc><Number>923335181139</Number></Cc> <Bcc><Number>923335181139</Number></Bcc> </Recipients> <ServiceCode xsi:null="1"/> <LinkedID xsi:null="1"/> <MessageClass>personal</MessageClass> <TimeStamp>2005-05-23T09:52:04.6953125+05:00</TimeStamp> <ExpiryDate>2005-05-23T09:52:04.6953125+05:00</ExpiryDate> <EarliestDeliveryTime>2005-05-23T09:52:04.6953125+05:00</EarliestDeliveryTime> <DeliveryReport>false</DeliveryReport> <ReadReply>false</ReadReply> <ReplyCharging>false</ReplyCharging> <replyDeadline xsi:null="1"/> <replyChargingSize xsi:null="1"/> <Priority>high</Priority> <Subject>Test Message </Subject> <allowAdaptations>false</allowAdaptations> <ChargedParty xsi:null="1"/> <DistributionIndicator>false</DistributionIndicator> <Content xsi:null="1"/> <ContentType xsi:null="1"/> <Content href="cid:mms_cid" /> </a1:SubmitReq> <SOAP-ENC:Array id="ref-5" SOAP-ENC:arrayType="xsd:string[1]"> <item>923335181139</item> </SOAP-ENC:Array> </SOAP-ENV:Body> </SOAP-ENV:Envelope> --mime-boundary-ae3dac92-94ff-4389-8f4a-9e81e2570320 Content-type:multipart/related; start=<mysmil.smil>; boundary="mime-boundary-f501d045-0eac-4ea6-bb29-57d82fa55f4f" Content-ID:<mms_cid> --mime-boundary-f501d045-0eac-4ea6-bb29-57d82fa55f4f Content-type:application/smil; Content-ID: <mysmil.smil> <smil> <head> <meta name="SDK USED" content="Mobile Technologies"/> <meta name="CopyRight" content=""/> <layout> <root-layout width="200%" height="200%"/> <region id="defaultImage" width="100%" height="50%" left="0" top="0" fit="fill"/> <region id="defaultText" width="100%" height="50%" left="0" top="50%" fit="hidden"/> </layout> </head> <body> </body> </smil> --mime-boundary-f501d045-0eac-4ea6-bb29-57d82fa55f4f-- --mime-boundary-ae3dac92-94ff-4389-8f4a-9e81e2570320-- ////////////////////////////////////////////// | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 4570 Registered: 10-2002 |
How are you configured for sending out MMS messages? NowSMS won't do any number transformation against phone numbers submitted in an MM7 request, so it will just try to send them out as is. It sounds like your upstream SMSC or MMSC does not like numbers that include country code but are not in international format. Regarding multiple recipients, the following thread provides examples: http://support.nowsms.com/discus/messages/485/842.html (The problem mentioned in that thread, where we were only supporting multiple recipients in one particular way was fixed in versions since v5.0, so don't worry about the problem part.) To specify an e-mail address, change "<Number>" to "<RFC2822Address>", and put an e-mail address inside the element. |