Forum Discussion

Lostwords's avatar
Lostwords
New Contributor
9 years ago

Difficulty deploying war file (created by SOAPUI) with weblogic

Hi,

 

I've been trying to create a Mock webservice using SOAPUI and deploy it as war file and host it using weblogic.  It looks simple enough to do.  I've following the instruction from:  http://www.soapui.org/getting-started/mock-services.html and the tested the mock webservice that ran on SOAPUI.  It works fine when SOAPUI hosted the mock webservice but I have a tough time trying to get the deployment of the war file using weblogic12c to work.  The mock webservice would work the first time on the serverbut subsequence requests get a blank response.

I get the following Errors from the server:

Dec 03, 2015 1:22:02 PM com.eviware.soapui.mockaswar.MockAsWarServlet service
SEVERE: null
com.eviware.soapui.impl.wsdl.mock.DispatchException: Missing operation for soapAction [http://www.webserviceX.NET/ConversionRate] and body element [{http://www.webserviceX.NET/}ConversionRate] with SOAP Version [SOAP 1.1]
        at com.eviware.soapui.impl.wsdl.support.soap.SoapUtils.findOperationForRequest(SoapUtils.java:330)
        at com.eviware.soapui.impl.wsdl.mock.WsdlMockDispatcher.dispatchPostRequest(WsdlMockDispatcher.java:191)
        at com.eviware.soapui.impl.wsdl.mock.WsdlMockDispatcher.dispatchRequest(WsdlMockDispatcher.java:113)
        at com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner.dispatchRequest(WsdlMockRunner.java:142)
        at com.eviware.soapui.mockaswar.MockAsWarServlet$MockServletSoapUICore.dispatchRequest(MockAsWarServlet.java:247)
        at com.eviware.soapui.mockaswar.MockAsWarServlet.service(MockAsWarServlet.java:182)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:243)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3432)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
        at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
        at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

<3-Dec-2015 1:22:02 o'clock PM EST> <Error> <com.eviware.soapui.mockaswar.MockAsWarServlet> <BEA-000000> <null
com.eviware.soapui.impl.wsdl.mock.DispatchException: Missing operation for soapAction [http://www.webserviceX.NET/ConversionRate] and body element [{http://www.webserviceX.NET/}ConversionRate] with SOAP Version [SOAP 1.1]
        at com.eviware.soapui.impl.wsdl.support.soap.SoapUtils.findOperationForRequest(SoapUtils.java:330)
        at com.eviware.soapui.impl.wsdl.mock.WsdlMockDispatcher.dispatchPostRequest(WsdlMockDispatcher.java:191)
        at com.eviware.soapui.impl.wsdl.mock.WsdlMockDispatcher.dispatchRequest(WsdlMockDispatcher.java:113)
        at com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner.dispatchRequest(WsdlMockRunner.java:142)
        at com.eviware.soapui.mockaswar.MockAsWarServlet$MockServletSoapUICore.dispatchRequest(MockAsWarServlet.java:247)
        Truncated. see log file for complete stacktrace

Attached is a document with steps and screenshot of what I did and the response I got.  Please have a look at it and let me know if you see where I my mistakes maybe. 

 

thank you for your time.

2 Replies

    • Lostwords's avatar
      Lostwords
      New Contributor

      Hi,

       

      As you may know by now, I am relatively new when come to using the tool and mocking web services.  Could you be more specific as to what need to be done?

       

       

      I did a bit more searching and found this thread but unfortunately, that doesn't solve my issue either.  :(