【问题标题】:JAX-WS 2.1 validation error : cannot find SEI specified by the WS endpointJAX-WS 2.1 验证错误:找不到 WS 端点指定的 SEI
【发布时间】: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


【解决方案1】:

您的端点接口:

@javax.jws.WebService (endpointInterface="xyz")

没有指向它的端口。 验证端口文件的确切位置,并提供该文件的完整路径作为您的端点接口。

【讨论】:

    猜你喜欢
    • 2011-10-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-01-26
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多