jinfeng_wang

G-G-S,D-D-U!

BlogJava 首页 新随笔 联系 聚合 管理
  400 Posts :: 0 Stories :: 296 Comments :: 0 Trackbacks

package IVR.client.ui;

import bea.jolt.JoltRemoteService;
import bea.jolt.JoltSession;
import bea.jolt.JoltSessionAttributes;

public class SimpleApp {
    public static void main(String[] args) {

        JoltSession session;
        JoltSessionAttributes sattr;
        JoltRemoteService joltService;
        String userName = "";
        String userPassword = "";
        String appPassword = "";
        String userRole = "";
        sattr = new JoltSessionAttributes();
        sattr.setString(JoltSessionAttributes.APPADDRESS,
                "//XX.XX.X:8307");
        sattr.setInt(JoltSessionAttributes.IDLETIMEOUT, 300);
        session = new JoltSession(sattr, userName, userRole, userPassword,
                appPassword);
        joltService = new JoltRemoteService("testServiceName", session);
        joltService.setString("sw01_1", "<Hello>");
        joltService.setString("sw01_2", "<Hello>");
        joltService.setString("sw01_3", "<Hello>");
        joltService.setString("sw01_4", "<Hello>");
        joltService.setString("sw01_5", "<Hello>");
        joltService.setString("sw01_6", "<Hello>");
        joltService.setString("sw01_7", "<Hello>");
        joltService.setString("sw01_8", "<Hello>");

        joltService.call(null);

    }

}

posted on 2010-02-04 15:28 jinfeng_wang 阅读(1155) 评论(0)  编辑  收藏 所属分类: tuxedo

只有注册用户登录后才能发表评论。


网站导航: