MMS | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through June 06, 2005 ⬆ |
◄ ► |
Author | Message | |||
Ana Cristina Moya New member Username: Anacel Post Number: 1 Registered: 03-2005 |
Hi I’m working with a real MMS provider, I download the MMSC Software Development Kit of LogicalCMG to make a VAS application for transmitting and receiving MMS, but I had a trouble in the reception of the MMS from the MMSC, in my logs registry appears this error: DEBUG http-15000-Processor25 com.cmgwds.mmsc.vas.api.PapDecoder - decodeThisMessage called ERROR http-15000-Processor25 com.cmgwds.mmsc.vas.api.PapDecoder - Could not instantiate new MimeMessage or could not parse header. ERROR http-15000-Processor25 com.cmgwds.mmsc.vas.api.HttpReceive - Problem while decoding message :com.cmgwds.mmsc.vas.api.PapDecoderException: Could not instantiate new MimeMessage : javax.mail.MessagingException: Missing start boundary DEBUG http-15000-Processor25 com.cmgwds.mmsc.vas.api.HttpReceive - encoding response using PAP Encoder DEBUG http-15000-Processor25 com.cmgwds.mmsc.vas.api.PapEncoder - encodeThisResponse called DEBUG http-15000-Processor25 com.cmgwds.mmsc.vas.api.PapEncoder - response encoded successfully by encodeThisMessage DEBUG http-15000-Processor25 com.cmgwds.mmsc.vas.api.HttpReceive - response encoded successfully by PAP Encoder INFO http-15000-Processor25 com.cmgwds.mmsc.vas.api.HttpReceive - sending response for message :null INFO http-15000-Processor25 com.cmgwds.mmsc.vas.api.HttpReceive - automatic response to message :null sent I supposed that the error was because I have an error in the CLASSPATH direction to the mail.jar or activation.jar, but I put a servlet in the same web application who calls the javax.mail.MessagingException and it did not present an error. Any help about this error, or information about an API where I can send and receive MMS and can connect with a MMSC developer with LogicalCMG?, Thanks in advance, Ana Cristina | |||
Abhishek Pandey New member Username: Abhishek_pandey Post Number: 20 Registered: 12-2004 |
Hi Cristina, To connect with a LogicaCMG MMSC you have to set following parameter in a file, .ini. 1. RECEIVE 2. SEND_TIMEOUT 3. MMSC_VAS_IP 4. MMSC_VAS_PORT 5. MMSC_VAS_DIR 6. TRACE_DIR 7. TRACE_FILENAME 8. TRACE_LEVEL 9. TRACE_SIZE These params you have to set in a file with th extn .ini You need the file path to use the API. To start the api you need to call method CoreApi.mmscStart(username, password, iniFile) .... some other methods to compose and send MMS. To receive the MMS your application must implement MessageListener interface and the method processThisMessage(MessageArrivedEvent). Also you must set value of parameter RECEIVE to TRUE. Also to implement receiving part you have to congigure the URL, servlet URL with implements MessageListener interface, in the MMSC. Please check with your MMSC administrator for details. May it helps you. Abhishek | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 4199 Registered: 10-2002 |
Also it might be worth noting .. I believe the LogicaCMG API is specific to their MMSC ... it does not implement a standard protocol. So it could only be used to connect to a LogicaCMG MMSC via this proprietary API. (If I'm wrong, please correct me.) | |||
Abhishek Pandey New member Username: Abhishek_pandey Post Number: 21 Registered: 12-2004 |
Hi Bryce, Yes it is true. Every MMSC provider have it's own way to submit MMS from VAS application to MMSC. I have used both the Ericsson and LogicaCMG mms api and found that the implementation of submission of mms is different. | |||
nopanic Unregistered guest |
hi all, e/// mm7 is not 3gpp comliant and the pap protocol of LCMG also. but... lcmg is offering a 3gpp ompliant mm7 soap interface. but this interface is not supported of all lcmg-customers. ask your network operator if he is offering this interface | |||
Ana Cristina Moya New member Username: Anacel Post Number: 2 Registered: 03-2005 |
Hi all, Thanks a lot for answer, I review every steps that Abhishek Pandey mention about the API configuration an execution, I think that my problem is that I receive a SOAP message of the operator, but the API that I download from logicacmg it’s only for PAP (I notice it in the error message: “com.cmgwds.mmsc.vas.api.PapDecoder - Could not instantiate new MimeMessage or could not parse header”. Since the class that is trying to interpret the message is a PapDeconder and I don’t find a class like SOAPDecoder or something in the API). I don’t know where can I get a SOAP API for LogicaCMG, or if I have to make all the interpretation of the message with the only help of the javamail API, any way I don’t think I could make this if Abhishek says that the MMSC has this own protocol. When you use this API, you work with SOAP or PAP?, if you use SOAP, with which API did you work?, Where can I found information about the exactly protocol that Logical use? I don’t understand the “nopanic” answer, could you be clearer. Thanks a lot Ana Cristina |