我已經在weblogic中部署了一個Soap UI戰爭項目。部署完成後,對於第一個請求,soapUI將調度到正確的模擬響應。但是,在第一次請求之後,我收到以下錯誤:Soap UI在weblogic問題中部署爲戰爭
<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)
我已經使用了「腳本」,以distatch的答覆,我將使用Groovy腳本。
請讓我知道這個問題的決議..它對我來說很重要。
感謝您的幫助。
這個模擬服務是否可以在soapUI中正常工作? –
是的......它在SoapUI中正常工作。但是當我將它部署在Weblogic中時,我得到了上述錯誤! – VinayBS