Hi

I have just downloaded Nokia Libraries_1_5 and I was trying to do some tests with MMS send and MMS receive in mm7 protocol. What i did was this:

1. Started the receive process like this: ant run-mms-receive-with-mm7
2. updated property files so that the send and receive will point to same port
3. Sent an mms with mm7 protocol like this: ant run-mms-send-with-mm7
4. I receive the following error:


Send Log
c:\dev\Nokia\Server_SDKs\Libraries_1_5\examples>ant run-mms-send-with-mm7
Buildfile: build.xml

init:

compile:
[javac] Compiling 13 source files to C:\dev\Nokia\Server_SDKs\Libraries_1_5\
examples\out
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

run-mms-send-with-mm7:
[java] [main] 07:28:31,038 [INFO] com.nokia.mobile.services.driver.common.h
ttpsrv.HTTPServerEngine: Starting HTTP server engine
[java] - Starting HTTP server engine
[java] [main] 07:28:31,070 [INFO] com.nokia.mobile.services.driver.common.h
ttpsrv.HTTPServerEngine: HTTP server engine started
[java] - HTTP server engine started
[java] 07:28:31,210 [INFO] com.nokia.mobile.services.driver.mms.mm7.MMSSend
er: missing Content-Id attribute, setting it to id_1
[java] - missing Content-Id attribute, setting it to id_1
[java] 07:28:31,241 [INFO] com.nokia.mobile.services.driver.mms.mm7.MMSSend
er: missing Content-Transfer-Encoding attribute, setting it to binary
[java] - missing Content-Transfer-Encoding attribute, setting it to binary
[java] 07:28:31,241 [INFO] com.nokia.mobile.services.driver.mms.mm7.MMSSend
er: missing Content-Id attribute, setting it to id_2
[java] - missing Content-Id attribute, setting it to id_2
[java] 07:28:31,241 [INFO] com.nokia.mobile.services.driver.mms.mm7.MMSSend
er: missing Content-Transfer-Encoding attribute, setting it to binary
[java] - missing Content-Transfer-Encoding attribute, setting it to binary
[java] 07:28:31,241 [INFO] com.nokia.mobile.services.driver.mms.mm7.MMSSend
er: missing Content-Id attribute, setting it to id_3
[java] - missing Content-Id attribute, setting it to id_3
[java] 07:28:31,241 [INFO] com.nokia.mobile.services.driver.mms.mm7.MMSSend
er: missing Content-Transfer-Encoding attribute, setting it to binary
[java] - missing Content-Transfer-Encoding attribute, setting it to binary
[java] 07:28:31,241 [INFO] com.nokia.mobile.services.driver.mms.mm7.MMSSend
er: missing Content-Id attribute, setting it to id_4
[java] - missing Content-Id attribute, setting it to id_4
[java] 07:28:31,241 [INFO] com.nokia.mobile.services.driver.mms.mm7.MMSSend
er: missing Content-Transfer-Encoding attribute, setting it to binary
[java] - missing Content-Transfer-Encoding attribute, setting it to binary
[java] 07:28:31,679 [ERROR] com.nokia.mobile.services.driver.mms.mm7.MMSSen
der: remote call failed
[java] AxisFault
[java] faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userEx
ception
[java] faultSubcode:
[java] faultString: java.lang.NullPointerException
[java] faultActor:
[java] faultNode:
[java] faultDetail:
[java] {http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerEx
ception
[java] at com.nokia.mobile.services.driver.common.wsi.axis.AxisHTTPServ
ice.service(AxisHTTPService.java:111)
[java] at com.nokia.mobile.services.driver.common.httpsrv.HTTPServerWor
ker.run(HTTPServerWorker.java:234)


[java] java.lang.NullPointerException
[java] at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaul
tBuilder.java:260)
[java] at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFault
Builder.java:169)
[java] at org.apache.axis.encoding.DeserializationContextImpl.endElemen
t(DeserializationContextImpl.java:1015)
[java] at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknow
n Source)
[java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElemen
t(Unknown Source)
[java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragmen
tContentDispatcher.dispatch(Unknown Source)
[java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDoc
ument(Unknown Source)
[java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Sour
ce)
[java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Sour
ce)
[java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Sou
rce)
[java] at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
[java] at org.apache.axis.encoding.DeserializationContextImpl.parse(Des
erializationContextImpl.java:242)
[java] at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)

[java] at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
[java] at com.nokia.mobile.services.driver.mms.mm7.TransactionIDHandler
.isSOAPFault(TransactionIDHandler.java:113)
[java] at com.nokia.mobile.services.driver.mms.mm7.TransactionIDHandler
.invoke(TransactionIDHandler.java:61)
[java] at org.apache.axis.strategies.InvocationStrategy.visit(Invocatio
nStrategy.java:71)
[java] at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
[java] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
[java] at org.apache.axis.client.AxisClient.invoke(AxisClient.java:193)

[java] at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
[java] at org.apache.axis.client.Call.invoke(Call.java:2553)
[java] at org.apache.axis.client.Call.invoke(Call.java:2248)
[java] at org.apache.axis.client.Call.invoke(Call.java:2171)
[java] at org.apache.axis.client.Call.invoke(Call.java:1691)
[java] at com.nokia.mobile.services.driver.mms.mm7.w2j.MMSServiceSOAPBi
ndingStub.submit(MMSServiceSOAPBindingStub.java:407)
[java] at com.nokia.mobile.services.driver.mms.mm7.MMSSender.send(MMSSe
nder.java:266)
[java] at com.nokia.mobile.services.driver.mms.mm7.MM7Engine.send(MM7En
gine.java:321)
[java] at com.nokia.mobile.services.examples.MMSSendApp.main(MMSSendApp
.java:49)
[java] - remote call failed
[java] AxisFault
[java] faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userEx
ception
[java] faultSubcode:
[java] faultString: java.lang.NullPointerException
[java] faultActor:
[java] faultNode:
Receive Log
obile.services.driver.common.wsi.axis.AxisHTTPService: Failed to execute SOAP re
quest
[java] java.lang.NullPointerException
[java] at com.nokia.mobile.services.driver.common.wsi.axis.AxisHTTPServ
ice.service(AxisHTTPService.java:111)
[java] at com.nokia.mobile.services.driver.common.httpsrv.HTTPServerWor
ker.run(HTTPServerWorker.java:234)
[java] - Failed to execute SOAP request
[java] java.lang.NullPointerException
[java] at com.nokia.mobile.services.driver.common.wsi.axis.AxisHTTPServ
ice.service(AxisHTTPService.java:111)
[java] at com.nokia.mobile.services.driver.common.httpsrv.HTTPServerWor
ker.run(HTTPServerWorker.java:234)
[java] [Thread-3] 07:28:31,585 [ERROR] com.nokia.mobile.services.driver.com
mon.httpsrv.HTTPRequestMessage: Only GET and POST methods are supported by the i
nternal HTTP server, and the received method is
[java] ?╒M∟¡wU╙c⌂[α?jΩz→8ú$≈§Ac░;
[java] ∙s█╟←╙Bú╝┴▬▓¡?╝1§E▲\↨≤⌠╘∞A┌δ|fΣ═WQ^?T"Φ▌√‼÷?<º÷)by?¶?T│o{?l.∞<+U┘╟→#
?R«a╣;]T?░Θ{+C?J89<l↑∩&?áz⌡├x√;♠G"╙Q┬- Only GET and POST methods are supported b
y the internal HTTP server, and the received method is
[java] ?╒M∟¡wU╙c⌂[α?jΩz→8ú$≈§Ac░;
My receive relevant properties
# Specifies listen port for terminating or originating_terminating mode.
mmsc.Engine.axis.server.port = 42100
My send relevant properties
# Specifies URL to Web Service providing MM7 interface of MMS Center.
mmsc.Engine.MMSCURL=http://localhost:42100/axis/services/MMSServiceSOAPPort

# Specifies listen port for terminating mode.
mmsc.Engine.axis.server.port=42010
What did I do wrong?