【发布时间】:2012-03-08 22:44:13
【问题描述】:
我有 JAX-WS 2.1 网络服务的企业应用程序。在 WAS(websphere 应用程序服务器)8.0.0.0(32 位)上部署应用程序期间,会发生这种情况:
2/17/12 14:46:38:857 CET 000004b8 WSModuleDescr E WSWS7027E:
**JAX-WS Service Descriptions could not be correctly built because of the following error:
javax.xml.ws.WebServiceException: Validation error: cannot find SEI specified by the WebService.endpointInterface.**
Implementation class: com.dummy.ws.bean.impl.DummyWSManager; EndpointInterface: com.dummy.ws.bean.DummyWSManagerSei
EndpointEnabler configuration :
verbose = true
http.enableRouterSecurity = false
dummy-ejb.http.contextRoot = /dummyrouter
dummy-ejb.DummyWSManager.http.urlPattern = /DummyWSManager
可能出了什么问题? 这种异常非常罕见,我需要知道该问题的真正原因。我也在 JAX-WS 中使用类似的应用程序,没有任何问题。
【问题讨论】:
-
这两个类文件可用吗?即“com.dummy.ws.bean.impl.DummyWSManager”和“com.dummy.ws.bean.DummyWSManagerSei”。它们是在正确文件夹中的 WEB-INF/classes 中还是在 WEB-INF/lib 中的 jar 中可用?
标签: java web-services deployment websphere jax-ws