MMS/SMS GATEWAY

tambur

Tambur Messaging Gateway
  Tambur Messaging Gateway is an open source SMS/MMS messaging gateway platform. Tambur is used to integrate into SMSC and MMSC infrastructure provided by network operators, exposing their functionalities through an uniform, easy-to-implement HTTP based API. Tambur is written in the Java language, and uses the JBoss application server as its foundation.
Tambur is targeted at mobile service providers and application developers with a need for SMS, WAP-SI and/or MMS connectivity. Tambur significantly reduces development time for mobile services. It is an open, standards based alternative for commercial and in-house developed gateway products.

Mbuni

  Mbuni is a fully-fledged Open Source MMS gateway. It includes both core network MMS switching (i.e. MMSC) capabilities as well as messaging gateway (i.e. MMSC infrastructure integration) features, and is suitable for operators and MMS VAS providers. 
好的,以下是将该返回内容转换为 JSON 的方法: 1. 点击 Postman 中响应 Body 旁边的 `Code` 按钮,在弹出的对话框中选择 `Node.js - request` 代码片段。 2. 将代码片段中的 `body` 变量赋值为返回内容,即替换下面代码中的 `XMLRESPONSE`: ``` var body = `<xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <soapenv:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ESB_CS_QRY_USED_RESUSED_001 xmlns="http://esb-sc. yw.zj.chinamobile.com"> <reqXml xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <![CDATA[ <?xml version="1.0" encoding="UTF-8"?><RESP_PARAM><PUB_INFO><RETURN_RESULT>0</RETURN_RESULT><RETURN_DESC>操作成功</RETURN_DESC><OSB_SERIAL_NO>gateway-app-zt^16846071330000000001</OSB_SERIAL_NO></PUB_INFO><BUSI_INFO><GPRS_INFO><GPRS_IN>0</GPRS_IN><GPRS_OUT>0</GPRS_OUT><GPRS_OTHER>0</GPRS_OTHER><GPRS_DURA>0</GPRS_DURA><GPRS_FEE>0</GPRS_FEE></GPRS_INFO><MMS_INFO><MMS_AMOUNT>0</MMS_AMOUNT></MMS_INFO><SMS_INFO><TOTAL_MSG_NUM>15</TOTAL_MSG_NUM><OUT_MSG_NUM>0</OUT_MSG_NUM><INNER_MSG_NUM>0</INNER_MSG_NUM><MEN_MSG_NUM>15</MEN_MSG_NUM></SMS_INFO></BUSI_INFO></RESP_PARAM> ]]> </reqXml> </ESB_CS_QRY_USED_RESUSED_001> </soapenv:Body> </soapenv:Envelope>`; ``` 3. 在代码片段中添加以下代码来将 XML 转换为 JSON: ``` var parseString = require('xml2js').parseString; parseString(body, function (err, result) { console.log(JSON.stringify(result)); }); ``` 4. 点击 `Send` 按钮,运行代码片段并在控制台中查看转换后的 JSON 结果。 以上就是将该返回内容转换为 JSON 的方法。希望对您有所帮助!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值