SOAP client for TaskListener component(用GUI做的SOAP客户端的问题)

ckjjay 2008-04-22 05:22:01
Description:
The purpose of the SOAP Client is to perform remote procedure calls (RPC) on Trilogy servers throug TaskListener web service.
The client should call four methods of ITaskListener interface. The parameters to be passed and URL of web server should be configurable.
SOAP client for TaskListener should have SOAP client class itself and three launcher classes:

* Command line launcher
* GUI launcher for arbitrary SOAP envelopes
* GUI launcher for envelopes specific for TaskListener standard tasks

Normal Course:
1. Command line launcher
Command line launcher should be run with two required and one optional parameter.
Required parameters are URL of WS and name of an XML file containing SOAP request.
Optional parameter is SOAP Action.

2. GUI launcher for arbitrary SOAP envelopes
This GUI launcher should be a swing application.
It should have TextFields for entering WS URL and SOAP Action, editable TextArea for SOAP request envelope,
non-editable output TextArea for SOAP responses and exception listings and a launcher button.
TextAreas should have ScrollBars appearing if necessary.
After a launcher button is pressed application should pick data from text inputs and send a SOAP request.
If response returns successfully the application should print the response SOAP envelope to the output TextArea.
If an exception is thrown by the SOAP client class, this exception should also be printed to output TextArea.
None of exceptions should cause crash of the client launcher.

3. GUI launcher for envelopes specific for TaskListener standard tasks
This GUI launcher should be a swing application.
It should have TextFields for entering WS URL, SOAP Action, task id and task properties (name, type, DIR_OUT, xml). See TaskHandler description for details.
TextAreas should be used for xml property and for output of SOAP response or SOAP client exceptions.
ScrollBars should appear on TextAreas if needed.
The ComboBox should be used to choose one of the methods (addTask, terminate, getLog, getStatus).
After a launcher button is pressed application should pick data from text inputs, create a SOAP envelope and send a SOAP request.
If response returns successfully the application should print the response SOAP envelope to the output TextArea.
If an exception is thrown by the SOAP client class, this exception should also be printed to output TextArea.
None of exceptions should cause crash of the client launcher.


我这个东西该如何去做,GUI都没影像了!
...全文
73 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
goodmrning 2008-04-26
  • 打赏
  • 举报
回复
再帮楼主顶一下
goodmrning 2008-04-26
  • 打赏
  • 举报
回复
帮楼主顶一下
ckjjay 2008-04-24
  • 打赏
  • 举报
回复
诺大个csdn竟然没有一个....
haoxiongok 2008-04-23
  • 打赏
  • 举报
回复
帮楼主顶一下

62,616

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧