我在weblogic中部署了一个Soap UI war项目。部署之后,对于第一个请求,soapUI将调度到正确的模拟响应。但在第一次请求后,我收到以下错误:
<27/02/2014 10:33:34 AM EST> <Error> <com.eviware.soapui.mockaswar.MockAsWarServlet> <BEA-000000> <null
com.eviware.soapui.impl.wsdl.mock.DispatchException: Missing operation for soapAction [] and body element [{http://usage.optus.ws.rsc.app.roamware.com}getPolicySpecificUsage] with SOAP Version [SOAP 1.1]
at com.eviware.soapui.impl.wsdl.support.soap.SoapUtils.findOperationForRequest(SoapUtils.java:359)
at com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner.dispatchPostRequest(WsdlMockRunner.java:250)
at com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner.dispatchRequest(WsdlMockRunner.java:375)
at com.eviware.soapui.mockaswar.MockAsWarServlet$MockServletSoapUICore.dispatchRequest(MockAsWarServlet.java:261)
at com.eviware.soapui.mockaswar.MockAsWarServlet.service(MockAsWarServlet.java:190)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
我使用“SCRIPT”来分散响应,我正在使用groovy脚本。
请让我知道这个问题的解决方案..这对我来说很重要。
感谢您的帮助。
答案 0 :(得分:1)
差不多2年......
这是典型的图书馆问题。 Weblogic使用orawsdl.jar,它具有不同的实现,导致无法找到操作。
使用https://github.com/eveoh/weblogic-soapui-mock-ear将战争包裹起来将解决问题,因为它解决了大多数已知的库问题。