SMS transport sender in wso2 ESB

I recently read an article about Sending SMS notifications using WSo2 esb . Unfortunately this doesn't work for me and I'm not 100% sure about some of these configurations. Below are the problems I have.

  • Are there other library files rather than the two files below that can be used to enable the sender to send SMS over SMPP?

    axis2-transport sms-1.0.0.jar

    jsmpp-2.1.0.jar

  • What is the actual directory where I should put each of these jars - is it $ ESB_HOME / repository / components / lib ?.

  • Finally, what should the endpoint of an address look like to send a specific number?

This is true?

 <endpoint>  
    <address uri="sms://94777179968">  
    </address>  

      

Note. - I am using the SMSC simulator as my actual SMSC.

Thanks in advance.

+3


source to share


2 answers


The answers to your specific questions ... 1. no, they correctly put them in the place as stated in article 2. yes 3. yes, but if this is entered via design view, you will get an error if it is wrong. Switch to the original view to add. (However, even though I got the error, it also appeared in the original view, so you just have to experiment with that).

Observe the article for sure, but there is a small error in both the config file for the proxy service and the config in the axis2 file (to enable SMS transport)

In xml service, the description tag surrounds the entire target, so move the empty description element outside of the closing target element.



The axix2 config file requires the transporter element to change slightly in order to be transport - note the capital S for the sender.

This is how I got it to work. Good luck.

0


source


Axis2 SMS Transport is designed to support any SMPP implementation by implementing an interface org.apache.axis2.transport.sms.SMSImplManager

.

Please refer to http://ws.apache.org/commons/transport/sms.html

There axis2-transport-sms-1.0.0.jar

are two implementations in.

I am. org.apache.axis2.transport.sms.gsm.GSMImplManager

- implements SMSLib http://smslib.org/



II. org.apache.axis2.transport.sms.smpp.SMPPImplManager

- implements JSMPP https://code.google.com/p/jsmpp/

If you want, you can link to the sources of these implementations and write your own implementation. For example, I have used Logica SMPP in one of my projects (standalone application) and it is a very good library and my project has been running for over two years now.

Here is the website for Logica SMPP: http://opensmpp.logica.com/CommonPart/Introduction/Introduction.htm

For your second and third questions, I think the answers are already in the blog post you posted. Go through the steps on this blog.

+1


source







All Articles