2012-02-17 29 views
1

我有JAX-WS 2.1 webservice的企業應用程序。在應用程序部署在WAS(WebSphere應用服務器)8.0.0.0(32位)發生這種情況:JAX-WS 2.1驗證錯誤:無法找到由WS端點指定的SEI

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,並沒有任何問題。

+0

這兩個類文件是否可用?即「com.dummy.ws.bean.impl.DummyWSManager」和「com.dummy.ws.bean.DummyWSManagerSei」。它們在您的WEB-INF/classes中的正確文件夾中,還是在WEB-INF/lib中的jar中可用? – davidfrancis 2012-02-17 14:39:38

回答

2

您的端點接口:

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

不指向它的端口。 驗證端口文件的確切位置,並提供該文件的完整路徑作爲您的端點接口。

相關問題