xyz854084
   
發文: 2
積分: 0
|
於 2005-06-23 02:11
     
以下是 AdminClient 完整參數說明
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| Usage: AdminClient [Options] [list | <deployment-descriptor-files>]
Processes a set of administration commands.
The following Options are available:
-l<url> sets the AxisServlet URL
-h<hostName sets the AxisServlet host
-p<portNumber> sets the AxisServlet port
-s<servletPath> sets the path to the AxisServlet
-f<fileName> specifies that a simple file protocol should be used
-u<username> sets the username
-w<password> sets the password
-d sets the debug flag (for instance, -ddd would set it to 3)
-t<name> sets the transport chain touse
Commands:
list will list the currently deployed services
quit will send a quit message to SimpleAxisServer
passwd value changes the admin password
Deployment Descriptor files:
<deployment-descriptor-files> deploys or undeploys Axis components and
web services described in these files
If -l or -h -p -s are not set, the AdminClient will invoke
http:
|
hartball38 wrote: 問題是 -saxisdemo\services\AdminService C:\eclipse-SDK-3.0.1\workspace\axisdemo\deploy.wsdd 其中 -s加在axisdemo\services\AdminService前面,才有效 若我加在C:\eclipse-SDK-3.0.1\workspace\axisdemo\deploy.wsdd 卻無效
1
| Usage: AdminClient [Options] [list | <deployment-descriptor-files>]
|
-saxisdemo\services\AdminService <--是[Options]其中的一個參數設定 C:\eclipse-SDK-3.0.1\workspace\axisdemo\deploy.wsdd <---是[list | <deployment-descriptor-files>]的deployment-descriptor-files實際檔案位置
所以 到底 要如何使用才正確 因為 作者也說過 -p<portNumber> 可以不用
(資料來源 WebService_10.pdf page 2/8) ...... 在執行AdminClient工具時,所需要加的參數只有-s一個為必要選項而已(位置路徑一定要指定,不然會找不到),參數-p在AXIS中是預設8080,因此如果Tomcat所設的port不是8080的話,才需要在指令中指定,在參數列後,再指定要deploy的WSDD檔位置 ......
另外,http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=72248 中我也看過,問題是 大多都是 ECLIPSE版的 而不是只有PLUGIN
原作者介紹他的WebService開發步驟,主要使用Eclipse開發環境,並利用JBoss-IDE與XDoclet工具協助建立deploy.wsdd與undeploy.wsdd...
JBoss 整合式開發介面的介紹,請參閱 http://ossc.cosa.org.tw/modules.php?name=News&file=article&sid=12 之相關資料。
節錄 ...JBoss,是開放原碼, 以J2EE為基礎的一個應用型伺服器... ...而它卻沒有圖形化基礎的開發環境介面... ...感謝Eclipse這個計畫,使得JBoss擁有了一個整合式開發環境...
至於 JBoss 和本身的 Plugin 尚未接觸過....得請有經驗的人分享囉
我再試試
  |