【发布时间】:2014-06-13 20:00:45
【问题描述】:
我正在尝试使用 Eclipse 创建 Web 服务以托管在 WebSphere 8.0 上。
package peter.td.com;
import javax.jws.*;
@WebService
public class First01 {
@WebMethod
public int Addition(int a, int b, int c)
{
return a+b+c;
}
}
我执行了 export(.ear) 并获取了 EAR 文件并将其部署到 WAS 8.0。
当我做http://localhost:9080/WebService01:
它给了我一个找不到页面的错误。
我环顾四周,找不到任何好的示例来创建 Web 服务以托管在 WebSphere 上。我正在使用 Eclipse IDE。
请分享或显示我可以使用 Eclipse IDE 为 WAS 8.0 创建 WebService 的任何教程链接。
【问题讨论】:
标签: java eclipse web-services websphere