mustosm
14 years agoNew Contributor
Error in mockSteps with soapui maven plugin
Hello everybody,
I'm trying to execute my soapUi tests automatically with the soapui maven plugin (version 4.0.0).
But I have this error :
I use TcpMonitor to intercept the soap message :
Request :
Response :
ps : I use mockSteps in my tests cases.
Can you help me please?
Regards.
I'm trying to execute my soapUi tests automatically with the soapui maven plugin (version 4.0.0).
But I have this error :
Got mockrequest to [removeUser (mock)]
Starting to listen for request to createUser (mock) II
12:20:01,274 ERROR [SoapUI] An error occured [Missing operation for soapAction [http://t-online.fr/webservices/CreateUser] and body element [null] with SOAP Version [SOAP 1.1]], see error log for details
com.eviware.soapui.impl.wsdl.mock.DispatchException: Missing operation for soapAction [http://t-online.fr/webservices/CreateUser] and body element [null] with SOAP Version [SOAP 1.1]
at com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner.dispatchPostRequest(WsdlMockRunner.java:318)
at com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner.dispatchRequest(WsdlMockRunner.java:375)
at com.eviware.soapui.monitor.JettyMockEngine$ServerHandler.handle(JettyMockEngine.java:714)
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$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
I use TcpMonitor to intercept the soap message :
Request :
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:CreateUser xmlns:ns2="http://t-online.fr/webservices/">
<UserId xmlns="">55555</UserId>
<CodeInsee xmlns="">11111</CodeInsee>
<Localization xmlns="">XXX</Localization>
</ns2:CreateUser>
</S:Body>
</S:Envelope>
Response :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>Server</faultcode>
<faultstring>Missing operation for soapAction [http://t-online.fr/webservices/CreateUser] and body element [null] with SOAP Version [SOAP 1.1]</faultstring>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
ps : I use mockSteps in my tests cases.
Can you help me please?
Regards.
?