中国移动MISC 1.6 Provision Java API
直接使用HttpServer的方式实现,不需要任何其它API,不需要Apache,IIS,Tomcat等Web服务器,直接实现底层.
运行环境 Windows/Linux JDK 1.4.2
演示程序
1) sync.bat 正向订购同步演示
java -classpath \"smsfan-provision.jar\" net.smsfan.provision.example.SyncOrderExample 80 provision
其中参数:
80 port,为HttpServer的端口号
provision serviceName,为服务名称
程序初始化成功后,misc网关访问URL:http://serverip:port/serviceName 即可提交正向同步数据
2) subs.bat 反向订购/取消接口演示
java -classpath \"smsfan-provision.jar\" net.smsfan.provision.example.SubscribeExample http://127.0.0.1/provision
其中参数:
http://127.0.0.1/provision url,为Misc网关的反向订购/取消接口地址
-China Mobile MISC 1.6 Provision Java API used directly HttpS SP in a way that does not require any other APIs, not Apache, IIS, Tomcat Web server, etc., direct achieve bottom. Runtime Environment Windows / Linux JDK 1.4.2 Demonstration Program 1) sy nc.bat being ordered synchronous demo java-classpath "smsfan - prov ision.jar "net.smsfan.provision.example.S yncOrderExample 80 provision which parameters : 80 port, HttpServer to the port provision serviceName, for service names initialization procedure after the success of Gateway misc visit URL : http : / / serverip : port / serviceName forward will be submitted to two synchronous data) subs.bat reverse order / cancellation interface demo java-classpath "smsfan - provision.j ar "net.smsfan.provision.example.Subscrib eExa
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 97288421misc_1.6_provision_java_api.zip 列表
provision/
provision/readme.txt
provision/smsfan-provision.jar
provision/src-example/
provision/src-example/net/
provision/src-example/net/smsfan/
provision/src-example/net/smsfan/provision/
provision/src-example/net/smsfan/provision/example/
provision/src-example/net/smsfan/provision/example/SubscribeExample.java
provision/src-example/net/smsfan/provision/example/SyncOrderExample.java
provision/subs.bat
provision/sync.bat