Hello,
We are using NMMS SDK 1.5 in our MMS application and getting following exception while sending MMS message to MMS connection
- Exception:
org.xml.sax.SAXException: Invalid element in com.nokia.mobile.services.driver.mms.mm7_v53.w2j.ResponseStatusType - StatusCode
at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:260)
at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:963)
at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)
at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:722)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:233)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:347)
at org.apache.axis.client.Call.invoke(Call.java:2272)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at com.nokia.mobile.services.driver.mms.mm7_v53.w2j.MMSServiceSOAPBindingStub.submit(MMSServiceSOAPBindingStub.java:386)
at com.nokia.mobile.services.driver.mms.mm7_v53.MMSSender.send(MMSSender.java:194)
at com.nokia.mobile.services.driver.mms.mm7_v53.MM7Engine.send(MM7Engine.java:321)
The message is delivered correctly at MMSC however the response sent by the MMSC is having additional text (namespace URL) - xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-2" under StatusCode, StatusText and MessageID tags which is causing the above exception in NOKIA API. Below is the snippet of the response XML sent by the MMSC which includes additional strings:
--------Start- Snippet from the current response stream from MMSC --------
HTTP/1.1 200 OK
Server: Resin/2.1.13
Content-Transfer-Encoding: 8bit
Content-Type: text/xml; charset=utf-8
Content-Length: 970
Connection: close
Date: Tue, 13 Jun 2006 13:43:01 GMT
<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header>
<mm7:TransactionID mustUnderstand="1" xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2">
7102900ABD7CE0B66579250757B5CE2A
</mm7:TransactionID>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<mm7:SubmitRsp xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2">
<mm7:MM7Version>
5.3.0
</mm7:MM7Version>
<mm7:Status>
<mm7:StatusCode xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-2">
1000
</mm7:StatusCode>
<mm7:StatusText xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2">
MMS brought to you by Openwave
</mm7:StatusText>
</mm7:Status>
<mm7:MessageID xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-2">
AEPzQjcAADd0ABQ+ERZK
</mm7:MessageID>
</mm7:SubmitRsp>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
---------End- Snippet from the current response stream from MMSC --------
Is this a known issue with NMSS Library 1.5? Are there any updates available which will fix this issue?
Thank you
Sainath



