JWorld@TW the best professional Java site in Taiwan
      註冊 | 登入 | 全文檢索 | 排行榜  

» JWorld@TW » Java & XML、Web Service » Web Services  

按列印兼容模式列印這個話題 列印話題    把這個話題寄給朋友 寄給朋友    訂閱主題
reply to topicthreaded modego to previous topicgo to next topic
本主題所含的標籤
無標籤
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
bsspirit





發文: 15
積分: 0
於 2005-05-22 22:54 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Thank you very much!!

reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
jackielo





發文: 2
積分: 0
於 2005-05-23 21:52 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
看了大家的推薦∼所以下載來看看,先謝謝您辛苦的整理!!

reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
freddiehsu





發文: 3
積分: 0
於 2005-05-24 15:18 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
非常好的文件...
值得用力推...


reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
KEO_001





發文: 13
積分: 0
於 2005-05-26 02:09 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
感謝辛苦分享,小弟享用中Tounge

reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
ahkalex





發文: 3
積分: 0
於 2005-05-27 13:41 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
資料整理的很清楚很完整,實在是太棒的喔!!
感謝elviscat


reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
VCrazy





發文: 1
積分: 0
於 2005-05-31 15:34 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
怎么没有后续了阿

reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
Momo





發文: 21
積分: 0
於 2005-06-02 09:11 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
感謝分享~

reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
chuhua





發文: 3
積分: 0
於 2005-06-02 14:26 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
超級好用的詳盡資料
正好需要
感謝大大熱情分享!!


reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
deaka





發文: 3
積分: 0
於 2005-06-02 17:12 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
感謝大大分享

reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
xounter





發文: 3
積分: 0
於 2005-06-05 14:05 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
非常感谢!!

reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
INHOPE





發文: 4
積分: 0
於 2005-06-06 11:36 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
thanks, that is good material for me, thank again.

reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
joewml





發文: 1
積分: 0
於 2005-06-07 15:59 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
thanks

reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
ccli0709

ccli0709



發文: 46
積分: 1
於 2005-06-07 16:20 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
感謝,
正愁無相關入門文件.

第二章有對java環境與eclipse的安裝介紹,
完全考慮到初學java人的心情!


ccli0709 edited on 2005-06-07 16:34
reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
angus7777





發文: 1
積分: 0
於 2005-06-11 14:52 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
內容撰寫的很詳細,感謝您的分享!

reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
carbo93





發文: 1
積分: 0
於 2005-06-12 01:05 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
內容真是充實
謝謝你的熱心提供SmileSmile


reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
hartball38





發文: 332
積分: 0
於 2005-06-16 12:59 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
謝謝您無私的分享
我按圖索驥,做到第九章
出現了下面的疑問
建立 delpoy.wsdd 放在sxisdemo專案目錄下

<?xml version="1.0" encoding="utf-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="MagicThermo" provider="java:RPC">
<parameter name="className" value="WS.MagicThermo"/>
<parameter name="allowedMethods" value="*"/>
<parameter name="scope" value="Request"/>
</service>
</deployment>


把MagicThermo.java 放在 WS package 裡面

啟動 TMOCAT

用CMD 鍵入
java -Djava.ext.dirs=%AXIS_HOME%\lib org.apache.axis.client.AdminClient -saxisdemo\services\AdminService C:\eclipse-SDK-3.0.1\workspace\axisdemo\deploy.wsdd
可正常 出現<Admin>Done processing</Admin>
但若是 加上 -s
-sC:\eclipse-SDK-3.0.1\workspace\axisdemo\deploy.wsdd
則出現
1
2
If -l or -h -p -s are not set, the AdminClient will invoke
http://localhost:8080/axis/servlet/AxisServlet


請問 -s 需要加嗎

而 -sC:\eclipse-SDK-3.0.1\workspace\axisdemo\deploy.wsdd list 出現404
C:\eclipse-SDK-3.0.1\workspace\axisdemo\deploy.wsdd list 可以正常出現內容


reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
hartball38





發文: 332
積分: 0
於 2005-06-16 15:37 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
另外 我於第10章最後面的操作中
我先把之前的 MagicThermro.jws 改為 MagicThermro2.jws
在網站上可以看得到

我再把 WS.MagicThermro.java 改為改為 教學內容內的資料
reload tomcat
結果 在LIST 中看不到利用WSDD新增的服務

然後 重開ECLIPSE 好幾次,才可正常跑出 C=75的結果
?????

另外 JBOSS 的plug-in 要到哪邊下載呀
JBOSS 網站裡面下載的都是 eclispe 版
難道是要 從下載這些把 某個 PLUGIN copy 出來嗎


reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
James0221





發文: 8
積分: 0
於 2005-06-17 08:40 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
謝謝~~
真有用~~


reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:hartball38]
xyz854084





發文: 2
積分: 0
於 2005-06-19 02:27 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
hartball38 wrote:
謝謝您無私的分享
我按圖索驥,做到第九章
出現了下面的疑問
建立 delpoy.wsdd 放在sxisdemo專案目錄下

把MagicThermo.java 放在 WS package 裡面

啟動 TMOCAT

用CMD 鍵入
java -Djava.ext.dirs=%AXIS_HOME%\lib org.apache.axis.client.AdminClient -saxisdemo\services\AdminService C:\eclipse-SDK-3.0.1\workspace\axisdemo\deploy.wsdd
可正常 出現<Admin>Done processing</Admin>
但若是 加上 -s
-sC:\eclipse-SDK-3.0.1\workspace\axisdemo\deploy.wsdd
則出現
1
2
If -l or -h -p -s are not set, the AdminClient will invoke
http://localhost:8080/axis/servlet/AxisServlet


請問 -s 需要加嗎




1
2
-p<portNumber> sets the AxisServlet port
-s<servletPath> sets the path to the AxisServlet


-s<servletPath> 指定部署到AxisServlet後的servletPath網址位置
-p<portNumber> 別忘了指定web server的port

而 -sC:\eclipse-SDK-3.0.1\workspace\axisdemo\deploy.wsdd list 出現404
C:\eclipse-SDK-3.0.1\workspace\axisdemo\deploy.wsdd list 可以正常出現內容

另外 JBOSS 的plug-in 要到哪邊下載呀
JBOSS 網站裡面下載的都是 eclispe 版
難道是要 從下載這些把 某個 PLUGIN copy 出來嗎


下列鏈結位置有全部版本(作者安裝的是1.3.30版,另外作者文章有說明安裝方式)
http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=72248


感謝作者並期待後續文章...Cool


xyz854084 edited on 2005-06-19 02:59
reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
hartball38





發文: 332
積分: 0
於 2005-06-21 14:39 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
問題是
-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
卻無效
所以 到底 要如何使用才正確
因為 作者也說過 -p<portNumber> 可以不用

另外,http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=72248
中我也看過,問題是 大多都是 ECLIPSE版的
而不是只有PLUGIN

我再試試


reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:hartball38]
xyz854084





發文: 2
積分: 0
於 2005-06-23 02:11 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list

以下是 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://localhost:8080/axis/servlet/AxisServlet

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 尚未接觸過....得請有經驗的人分享囉Tongue



我再試試


reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
rojay123





發文: 2
積分: 0
於 2005-06-27 04:08 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
謝謝大大的分享~
一直對 Web Service 這部份非常感興趣,可是都找不到相關入門的文件,
正好路過這裡看到大大的分享,
非常謝謝~


reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
KevinPDA





發文: 1
積分: 0
於 2005-07-04 11:39 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
绝对不错!谢谢。

reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
pisces39





發文: 2
積分: 0
於 2005-07-12 00:53 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我在第二個部份,3.6中第18頁所提Axis1.1都試不出來,是因為它改成是c++的版本了嗎?

我之後還有去抓到release的版本了。


pisces39 edited on 2005-07-12 10:01
reply to postreply to post
作者 Re:Web Services教學範例有圖檔 [Re:elviscat]
pisces39





發文: 2
積分: 0
於 2005-07-12 09:57 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
不好意思,我要測試第一個hello的例子時就不能出現結果了,可以再把run中的設定說一下嗎?

我試出來了,要run swt application,可能我裝的是3.1版的。


pisces39 edited on 2005-07-12 10:00
reply to postreply to post
go to first page go to previous page  1   2   3   4   5   6   7   8   9   10   11  go to next page go to last page
» JWorld@TW »  Java & XML、Web Service » Web Services

reply to topicthreaded modego to previous topicgo to next topic
  已讀文章
  新的文章
  被刪除的文章
Jump to the top of page

JWorld@TW 本站商標資訊

Powered by Powerful JuteForum® Version Jute 1.5.8