Weblogic 12c - Soap webservice无法正常工作

时间:2017-12-08 08:03:30

标签: java-8 weblogic jax-ws weblogic12c

我在Weblogic 12c + Java 8上面临soap webservices的问题。 当客户端调用webservice时,我收到以下错误。 相同的应用程序正在使用Weblogic 11g。

请帮忙。

  

信息:收到WS-I BP不符合要求的不带引号的SoapAction HTTP标头:processMessage   2017年12月7日上午1:24:02 com.sun.xml.ws.transport.http.HttpAdapter $ HttpToolkit句柄    SEVERE:com.sun.xml.ws.api.message.Message.getHeaders()Lcom / sun / xml / ws / api / message / HeaderList;   java.lang.NoSuchMethodError:com.sun.xml.ws.api.message.Message.getHeaders()Lcom / sun / xml / ws / api / message / HeaderList;   在org.apache.chemistry.opencmis.commons.impl.tube.server.WssTube.processResponse(WssTube.java:76)   在com.sun.xml.ws.api.pipe.Fiber .__ doRun(Fiber.java:1147)   在com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:1050)   在com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:1019)   在com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:877)   at com.sun.xml.ws.server.WSEndpointImpl $ 2.process(WSEndpointImpl.java:419)   at com.sun.xml.ws.transport.http.HttpAdapter $ HttpToolkit.handle(HttpAdapter.java:868)   在com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:422)   at com.sun.xml.ws.transport.http.servlet.ServletAdapter.invokeAsync(ServletAdapter.java:225)   at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:161)   at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:197)   at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:81)   在javax.servlet.http.HttpServlet.service(HttpServlet.java:707)   在javax.servlet.http.HttpServlet.service(HttpServlet.java:790)   在weblogic.servlet.internal.StubSecurityHelper $ ServletServiceAction.run(StubSecurityHelper.java:286)   在weblogic.servlet.internal.StubSecurityHelper $ ServletServiceAction.run(StubSecurityHelper.java:260)   在weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)   在weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)   在weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)   在weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)   在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:330)   在org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)   在org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)   在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)   在org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)   在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)   在org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)   在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)   在org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)   在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)   在com.backbase.portal.foundation.commons.security.BackbaseAnonymousProcessingFilter.doFilterHttp(BackbaseAnonymousProcessingFilter.java:111)   在com.backbase.portal.foundation.commons.security.BackbaseAnonymousProcessingFilter.doFilter(BackbaseAnonymousProcessingFilter.java:76)   在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)   在org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)   在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)   在org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)   在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)   在org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)   在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)   在org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:155)   在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)   在org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)   在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)   在org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)   在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)   在org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)   在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)   在org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)   在org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)   在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)   在com.backbase.mobile.security.jwt.JsonWebTokenAuthenticationFilter.doFilter(JsonWebTokenAuthenticationFilter.java:73)   在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)   在org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)   在org.springframework.security.web.FilterChainProxy $ VirtualFilterChain.doFilter(FilterChainProxy.java:342)   在org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)   在org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)   在org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)   在org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)   在weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)   在org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)   在org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)   在weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)   在weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:32)   在weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)   at weblogic.servlet.internal.WebAppServletContext $ ServletInvocationAction.wrapRun(WebAppServletContext.java:3701)   at weblogic.servlet.internal.WebAppServletContext $ ServletInvocationAction.run(WebAppServletContext.java:3667)   在weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)   在weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)   在weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)   在weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)   在weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2443)   在weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2291)   在weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2269)   在weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1703)   在weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1663)   在weblogic.servlet.provider.ContainerSupportProviderImpl $ WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272)   at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)   at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)   在weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)   在weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)   at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:644)   在weblogic.work.ExecuteThread.execute(ExecuteThread.java:415)   在weblogic.work.ExecuteThread.run(ExecuteThread.java:355)

1 个答案:

答案 0 :(得分:0)

以下错误

 java.lang.NoSuchMethodError
当应用程序的代码针对所提到的方法存在的库的不同版本进行编译时,通常会遇到

,而在较新的情况下则不会。

您可以在此处找到更多信息:

How do I fix a NoSuchMethodError?