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
本主題所含的標籤
作者 NetBeans 與 Web Service 問題
peterlkkyu





發文: 44
積分: 0
於 2015-04-29 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
小弟NetBeans IDE Netbeans8.02, JDK1.70

參考了官網的作法實作 Web Service
https://netbeans.org/kb/docs/websvc/jax-ws.html

在Deploy後

測試服務Test Web Service出現了以下錯誤



但是手Key URL可以Run服務

參考了官方的方法修改過了 netbeans.conf(netbeans) domain.xml(glassfish) 兩隻檔案

但是結果是一樣的

除此之外 興建Web Service Client 的時候找不到WSDL檔
錯誤如下圖

Glassfish有兩個警告內容如下
嚴重: The web application [/Calculator] created a ThreadLocal with key of type [org.glassfish.pfl.dynamic.codegen.impl.CurrentClassLoader$1] (value [org.glassfish.pfl.dynamic.codegen.impl.CurrentClassLoader$1@623658]) and a value of type [org.glassfish.web.loader.WebappClassLoader] (value [WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

警告: Container org.glassfish.webservices.JAXWSContainer@1d55e55 doesn't support class com.sun.xml.ws.api.server.Module

附件有RUN成功過的範例 請各位有研究過的大大幫助一下

NetBeanswork.rar (137.65k)


reply to postreply to post
» 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