Forum Discussion

BobJohnson's avatar
15 years ago

MOCK service is returning unexpected error message

Hi.

I have a SOAPUI Pro license and so I hope you can help me.

I'm sending the following HTTP POST message to the MOCK service.

POST HTTP/1.1

Content-Type: text/xml; charset=UTF-8

X-Forwarded-Server: ihwsg04

X-Forwarded-Host: 172.18.3.20:8080

SOAPAction: "http://www.csapi.org/wsdl/parlayx/sms/notification/v2_2/interface/SmsNotification/notifySmsReceptionRequest"

X-Forwarded-For: 172.18.3.27

Transfer-Encoding: chunked

Host: 192.168.30.105:8826

Connection: Keep-Alive

User-Agent: OmniAccess 8550 WSG



20e

<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns2:notifySmsReception xmlns:ns2="http://www.csapi.org/schema/parlayx/sms/notification/v2_2/local"><ns2:correlator>12345</ns2:correlator><ns2:message><message>hello offline Short message by Rajneet Malik</message><senderAddress>tel:1000007785</senderAddress><smsServiceActivationNumber>tel:10088</smsServiceActivationNumber></ns2:message></ns2:notifySmsReception></soapenv:Body></soapenv:Envelope>

0


Today I get the following response instead of the expected one:
<html><body><p>There are currently 1 running soapUI MockServices</p><ul><li><a href="/?WSDL">Performance SmsNotificationBinding MockService</a></li></ul></p></body></html>


This isn't anything like what I have the MOCK service theoretically programmed to do.
In this circumstance, the MOCK service is supposed to provide this:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:loc="http://www.csapi.org/schema/parlayx/sms/notification/v2_2/local">
<soapenv:Header/>
<soapenv:Body>
<loc:notifySmsReceptionResponse/>
</soapenv:Body>
</soapenv:Envelope>


That doesn't look like that at all.

I don't know what other information I need to provide, but just let me know,
and I'll try to get it to you.
No RepliesBe the first to reply