I've compiled the OriginatingApp that together with Java Library. And run the Application and send to the MMSC EAIF emulator(Originating).
And I received this message:
Message sent to http://127.0.0.1:8189
Response code: 204 No Content
X-NOKIA-MMSC-VERSION: 1.1
X-NOKIA-MMSC-MESSAGE-ID: 00000000000000000000000000000001
BUT When i send to MMSC EAIF Emulator(Terminating)
I received this message:
Message sent to http://127.0.0.1:8189
Response code: 400 Message Validation Failed
X-NOKIA-MMSC-VERSION: 1.1
What should i Send to from the case above. Originating / Terminating?
I', very confusing on this 2 terms. Let say i want to build a application that can send a MMS Message when a user send in a keyword.
What is my application considered as what(Originating/Terminating)?
And where Should I send to Terminating/Orignating MMSC EAIF Emulator?
Pls let me know on it.
THanks
RE: Confusing in Terminating and Orignating Terms
1970-01-01, 02:00#2
According to HTTP standards, all response codes in the 200 range mean "Success. The command was received, understood, and accepted." A Response Code of 204 only means that their RESPONSE had no content returned in it. If there was some error, you would get a 400 or 500 type response code. Therefore, your first test with the EAIF emulator looks successful.
Here are some examples from successful Nokia MMSC EAIF Emulator logs:
Terminating Application Log
<I> Received response:
<I> HTTP/1.1 204 No Content
<I> X-NOKIA-MMSC-VERSION: 1.1
<I> Response successfully validated
I understand how the terms can be confusing. This is because the EAIF emulator works opposite of what your Application does, but should always be set-up according to the classification of your application. If your Application will be RECEIVING mms messages, then it is a "Terminating" Application and the MMSC EAIF Emulator should be set-up for testing "Terminating". If your Application will be SENDING mms messages, then it is "Originating" and the MMSC EAIF Emulator should be set-up to test "Originating".
For more information and examples, refer to
http://www.forum.nokia.com/ndsCookieBuilder?fileParamID=2411
Your application sounds like an "Orginating" Application because it will create the MMS message and send it out. So, when you use the EAIF Emulator, set it to testing for "Application"->"Originating".