使用IBM WID建立SOA 4(测试、导出和导入)

关于WID的最后一篇,
使用IBM WID 建立SOA 之WID简介

使用IBM WID建立企业SOA 1(Assembling the application)

使用IBM WID建立企业SOA 2(实现具体的流程控制)

使用IBM WID建立SOA 3(Responding to the applicant)

测试本例(Testing the Sell application)
4.1 创建本例中的具体流程控制实现(Creating the process implementation)部署

a) 切换至Business Integration视图,的Servers 视图里面

b) 右击 WebSphere Process Server.

c) 从弹出的菜单中选择Add and remove projects. 将出现Add and Remove Projects 窗口

d) 单击Add all ,然后单击Finish.如下图所示:

clip_image002

2) 然后右击 WebSphere Process Server,选择start,由于部署项目比较慢可能要等2-4分钟.

4.2 测试(Invoking the test cases)

1) 运行客户请求发货界面

a) 在Business Integration视图中, 展开 CustomerUI > WebContent

b) 右击Index.jsp选择Run As > 1 Run on server.将弹出一个选择服务器对话框.

c) 选择WebSphere Process Server ,然后单击 Finish.

d) 稍后将弹出一个web 页面:

https://localhost:9443/CustomerUI/faces/Setting.jsp

clip_image004

e) 然后我们单击New,然后再单击Receive,就会出现以下图示:

clip_image006

2) 运行特价审批界面

clip_image008

5.导出

导出SellApplicationModule

1) 在Business Integration视图中,右击面板,选择Export

2) 弹出的类型选择对话框中,选择Integration module.

3) 在Integeraton Module Export窗口中选择如下图示:

clip_image010

4) 选择相关存储路径,单击确定保有存.

6.导入

导入SellApplicationModule

1) 打开wid开发工具

2) 单击File菜单,选择Import

3) 在弹出的选择框中,选择genneral选项里面Existing Projects into Workspace.

4) 这一步就是选择文件,如下图所示:

clip_image012

5) 我这因为已经有了此项目,所有Projects里面没有,若有选中,单击完成.

posted @ 2008-08-29 11:38  齐.net  阅读(1470)  评论(2编辑  收藏  举报