mkasper
12 years agoNew Contributor
"Missing operation for soapAction" from mockservice
Hi Guys
I have a WSDL (attached) I have received from a client. The WSDL contains 3 operations
1) captureSalesRequest
2) captureSalesRequestResponse
3) Fault
When I generated test messages and mockservice from it, I seem to have a problem with the Fault operation. I get a soap fault from the mockservice
I dont understand why this happens since the request xml is generated by SOAPUI and the mockservice is also generated by SOAPUI. When I consume the WSDL in other tools, e.g.oracle service bus, jbossesb,and apache axis 2, the Fault opertion can be called successfully.
The issue, therefore seems to be with the SOAPUI mockservice.
Any help would be appreciated.
PS: I also tried setting the SoapAction="" and that didnt help
Regards
I have a WSDL (attached) I have received from a client. The WSDL contains 3 operations
1) captureSalesRequest
2) captureSalesRequestResponse
3) Fault
When I generated test messages and mockservice from it, I seem to have a problem with the Fault operation. I get a soap fault from the mockservice
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>Server</faultcode>
<faultstring>Missing operation for soapAction [http://www.fnblife.co.za/flip/service/capturesalesrequest/CaptureSalesRequestWS/FaultRequest] and body element [{http://schemas.xmlsoap.org/soap/envelope/}Fault] with SOAP Version [SOAP 1.1]</faultstring>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
I dont understand why this happens since the request xml is generated by SOAPUI and the mockservice is also generated by SOAPUI. When I consume the WSDL in other tools, e.g.oracle service bus, jbossesb,and apache axis 2, the Fault opertion can be called successfully.
The issue, therefore seems to be with the SOAPUI mockservice.
Any help would be appreciated.
PS: I also tried setting the SoapAction="" and that didnt help
Regards