I able to bind both the Transmitter and the Receiver. In SMPPSim I can see that it accepts the bind and generates a BIND_RECEIVER_RESP, which I understand I should receive.
I also used the SMPPSim Control Panel and MO Injection Form to send a message, and can see that it is generated, but neither the update method nor packageReceived method are called.
Thanks for any help you can give me. Time is running short.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have you registered a ConnectionObserver with the connection to handle incoming messages by calling the connection.addObserver() method? If so then any messages received across the connection will be received by the packetReceived() method on the ConnectionObserver. There is an adapter class SMPPEventAdapter which can be used to simplify the handling of the incoming events.
Hope this helps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
what do you mean by "cant receive anything".
are you being able to bind first? any exception getting thrown?
i have tested the AsyncReceiver.java which comes with the API examples and it worked over a real SMSC and also over SMPPSim
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can bind both the Transmitter and Receiver. The SMPPSim log shows that both are bound and generates BIND_TRANSMITTER_RESP and BIND_RECEIVER_RESP, which I understand I should receive.
With the SMPPSim Injection Form I send a message, but neither the update method nor the packageReceived method are called.
Any help is greatly appreciated, I'm running low on time.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am able to bind to the SMSC of our provider and can send SMS messages, but I can't receive anything. I have also used SMPPSim with the same result.
Is there anything that needs to be configured to receive messages ?
I am using the smppapi jar files with netBeans IDE 4.1
I able to bind both the Transmitter and the Receiver. In SMPPSim I can see that it accepts the bind and generates a BIND_RECEIVER_RESP, which I understand I should receive.
I also used the SMPPSim Control Panel and MO Injection Form to send a message, and can see that it is generated, but neither the update method nor packageReceived method are called.
Thanks for any help you can give me. Time is running short.
Hi falvear
Have you registered a ConnectionObserver with the connection to handle incoming messages by calling the connection.addObserver() method? If so then any messages received across the connection will be received by the packetReceived() method on the ConnectionObserver. There is an adapter class SMPPEventAdapter which can be used to simplify the handling of the incoming events.
Hope this helps.
what do you mean by "cant receive anything".
are you being able to bind first? any exception getting thrown?
i have tested the AsyncReceiver.java which comes with the API examples and it worked over a real SMSC and also over SMPPSim
I can bind both the Transmitter and Receiver. The SMPPSim log shows that both are bound and generates BIND_TRANSMITTER_RESP and BIND_RECEIVER_RESP, which I understand I should receive.
With the SMPPSim Injection Form I send a message, but neither the update method nor the packageReceived method are called.
Any help is greatly appreciated, I'm running low on time.
what is the solution for that situation may i learn??