Error sending MMS via MM7 to Nokias MMSC v3.0

Error sending MMS via MM7 to Nokias MMSC v3.0 SearchSearch
Author Message
J. Christopher Pereira
New member
Username: Kripper

Post Number: 2
Registered: 04-2005
Posted on Thursday, May 19, 2005 - 11:37 pm:   

When sending a MMS from NowSMS's Web Interface, I get a "400 Message Validation Failed" error.

Nokias MMS is supposed to use MM7 6.3.0 and REL-5-MM7-1-2, but I tried this and others without success.

I'm using NowSMS 5.51a (b20050310) with the option for removing spaces in XML.

Here is the debug output:

17:15:21:578 [9] InetServerConnect: Connected to 192.168.0.1 (192.168.0.1:56019)
17:15:21:578 [9] ThreadProcessVASPQ: POST / HTTP/1.1
Host: 192.168.0.1:56019
SOAPAction: ""
Content-Length: 1203
Content-Type: multipart/related; boundary="---mime-boundary-B5D15E2D.DF96686E---"; type="text/xml"; start="<mm7_msg>"
Connection: close


17:15:21:578 [9] ThreadProcessVASPQ: -----mime-boundary-B5D15E2D.DF96686E---
Content-Type: text/xml; charset=utf-8
Content-ID: <mm7_msg>

<?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-2" env:mustUnderstand="1">20050519171521-41967EAC@192.168.0.3</mm7:TransactionID></env:Header><env:Body><SubmitReq xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2"><MM7Version>5.3.0</MM7Version><SenderIdentification></SenderIdentification><Re cipients><To><Number>094750341</Number></To></Recipients><Priority>High</Priorit y><DeliveryReport>True</DeliveryReport><ReadReply>True</ReadReply><Subject>Test 1</Subject><Content href="cid:mms_cid"/></SubmitReq></env:Body></env:Envelope>
-----mime-boundary-B5D15E2D.DF96686E---
Content-Type: multipart/mixed; boundary="---mime-boundary-94D12D6F.07B93D30---"
Content-ID: <mms_cid>

-----mime-boundary-94D12D6F.07B93D30---
Content-Type: text/plain
Content-ID: <428CDE87.txt>
Content-location: 428CDE87.txt

Contenido
-----mime-boundary-94D12D6F.07B93D30-----

-----mime-boundary-B5D15E2D.DF96686E-----

17:15:22:296 [9] HttpResponseWait: Ok
17:15:22:296 [9] ThreadProcessVASPQ: mm7 - got unknown response
17:15:22:296 [9] ThreadProcessVASPQ: HTTP/1.1 400 Message Validation Failed
x-nokia-mmsc-version: 3.0
Content-Length: 0


17:15:22:296 [9] ThreadProcessVASPQ: Outbound route Telefónica MM7: setting retry for 890013E6.MMS
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4563
Registered: 10-2002
Posted on Tuesday, May 24, 2005 - 08:42 pm:   

Hi,

The MMSC is returning an error that indicates that "Message Validation Failed". This suggests that the MMSC cannot validate your identity, and that you may not be authorised.

I notice that the "SenderIdentification" element is empty. That could be a problem. You should specify a default sender address in the definition of the MMSC Routing, so that this address will be put in if none is specified in the message. (Also, uncheck "Sender Address Override" if you want to be able to use sender addresses other than the default.)

Many providers also require that you specify a "VASP ID" and/or "VAS ID". Some also require a "Service Code". So I would suggest you check to see if those are required.

I've consulted Nokia's documentation, and they state that the "VASP ID" and "VAS ID" are mandatory in their implementation, so you do need to configure these.

I am also suspicious that the response you are receiving back includes "x-nokia-mmsc-version: 3.0" in the header. This is an EAIF header. And I suspect that if you want to communicate with the MMSC using MM7 you need to specify a different URL. You should check with your provider as to what URL you should use for MM7. Or, you may only be provisioned for EAIF, in which case you should use EAIF instead.

Nokia documentation suggests that the default URL is http://server:port/mmsc/mm7/MMSServiceSOAPPort, so that is probably what the provider is using.

Also, it looks like you don't have the MM7 version set to 6.3.0 in the above, which it looks like the Nokia MMSC might require (either that or 5.5.0).