wso2 ESB 中的 SMS 传输发送方 [英] SMS Transport sender in wso2 ESB

查看:17
本文介绍了wso2 ESB 中的 SMS 传输发送方的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我读到一篇关于 的文章使用 WSo2 esb 发送 SMS 通知.不幸的是,它对我不起作用,我对其中一些配置也不是 100% 确定.以下是我遇到的问题.

Recently I read an article about Sending SMS notifications using WSo2 esb. Unfortunately it does not work for me and I am not 100% sure about some of those configurations. Following are the problems that I have.

  1. 除了下面的两个文件之外,是否还有其他库文件可用于通过 SMPP 启用 SMS 传输发送器?

  1. Are there any other library files, rather than the two files below, that can be used to enable SMS transport sender over SMPP?

axis2-transport-sms-1.0.0.jar

jsmpp-2.1.0.jar

我应该将每个罐子放入的实际目录是什么 -是 $ESB_HOME/repository/components/lib 吗?

What is the actual directory into which I should put each of those jars - is it $ESB_HOME/repository/components/lib ?.

最后,发送特定号码的地址端点应该是什么样的?

Finally, what should the address endpoint for sending a specific number look like?

是这样的吗?

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

注意:- 我使用 SMSC 模拟器作为我的实际 SMSC.

Note :- I am using a SMSC simulator as my actual SMSC.

提前致谢.

推荐答案

回答您的具体问题...1.不,这些是正确的,按照文章中的指示放置2.是的3. 是的,但是如果这是通过设计视图输入的,你会得到一个错误,说它是无效的格式.切换到要添加的源视图.(不过,虽然我确实收到了错误,但它也确实出现在了源视图中,所以您只需要对此进行试验即可.

Answers to your specific questions... 1. no, these are correct put them in the place as directed in the article 2. yes 3. yes, but if this is entered through the design view you will get an error saying it is an invalid format. Switch to source view to add. (However, although I did get the error, it did appear in the source view too, so you'll just have to experiment with this).

完全按照文章操作,但代理服务的配置文件和axis2文件中的配置(启用短信传输)都有一个小错误

Follow the article exactly BUT there is a slight error in both the config file for the proxy service and for the config in the axis2 file (to enable the SMS transport)

在服务 xml 中,描述标记围绕所有目标,因此将空描述元素移到关闭目标元素之外.

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

axix2 配置文件需要将 transportsender 元素稍微更改为 transportSender - 请注意大写的S"代表发件人.

The axix2 config file needs the transportsender element altered slightly to be transportSender - note the capital 'S' for sender.

这就是我让它工作的方式.祝你好运.

That is how I got this to work. Good luck.

这篇关于wso2 ESB 中的 SMS 传输发送方的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆