Description: 中国移动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 Platform: |
Size: 50546 |
Author:张宁 |
Hits:
Description: 中国移动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 Platform: |
Size: 50176 |
Author:张宁 |
Hits: