Forum Discussion

neuneuraxis's avatar
9 years ago

body element [null] with SOAP Version [SOAP 1.1] with SoapUi tutorial

I import the SoapUI tutorial "Sample-SOAP-Project-soapui-project.xml" in soapUI 5.2.1. I run the mock service "ServiceSoapBinding MockService". I call the operation login, the reponse is good. Then, i call the same operation a second time and I have a soapFault:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <soapenv:Fault>
         <faultcode>Server</faultcode>
         <faultstring>Missing operation for soapAction [http://www.soapui.org/sample/login] and body element [null] with SOAP Version [SOAP 1.1]</faultstring>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope>

 

and I have this stackTrace in error log :

Mon Oct 26 10:21:16 CET 2015:ERROR:com.eviware.soapui.impl.wsdl.mock.DispatchException: Missing operation for soapAction [http://www.soapui.org/sample/login] and body element [null] with SOAP Version [SOAP 1.1]
   com.eviware.soapui.impl.wsdl.mock.DispatchException: Missing operation for soapAction [http://www.soapui.org/sample/login] and body element [null] with SOAP Version [SOAP 1.1]
       at com.eviware.soapui.impl.wsdl.mock.WsdlMockDispatcher.dispatchPostRequest(WsdlMockDispatcher.java:233)
       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.monitor.JettyMockEngine$ServerHandler.handle(JettyMockEngine.java:604)
       at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
       at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
       at org.mortbay.jetty.Server.handle(Server.java:326)
       at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
       at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
       at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
       at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
       at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
       at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source)
Mon Oct 26 10:21:16 CET 2015:ERROR:java.lang.IllegalStateException: WRITER
   java.lang.IllegalStateException: WRITER
       at org.mortbay.jetty.Response.getOutputStream(Response.java:594)
       at com.eviware.soapui.monitor.JettyMockEngine$MockRequestLog.log(JettyMockEngine.java:691)
       at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:51)
       at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
       at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
       at org.mortbay.jetty.Server.handle(Server.java:326)
       at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
       at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
       at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
       at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
       at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
       at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source)

 

Can you give hint?

 

thx

 

Sorry for my english

No RepliesBe the first to reply