Message "line -1: Response is missing or empty" when submitting a POST message
Hi,
In SoapUI Open source, I'm trying to submit a REST web service call. I was able to load the WSDL from my web service definition just fine. I was able to create an authentication header that fixed my original authentication error.
The message I get is:
line -1: Response is missing or empty
Here's the web service call:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:shop="urn:microsoft-dynamics-schemas/codeunit/ShoppingCartMgt">
<soapenv:Header/>
<soapenv:Body>
<shop:PurchaseSingleItem>
<shop:customerNo>Cxxxxxx</shop:customerNo>
<shop:itemNo>Itemxxxxxx</shop:itemNo>
<shop:last4CC>0000</shop:last4CC>
<shop:cCLineNo>10000</shop:cCLineNo>
<shop:promoCode></shop:promoCode>
<shop:amount>999.00</shop:amount>
<shop:status></shop:status>
<shop:statusMsg></shop:statusMsg>
</shop:PurchaseSingleItem>
</soapenv:Body>
</soapenv:Envelope>
If I copy the WSDL and paste it into a browser, the web service call runs successfully.
I'm trying to understand the "Response is missing or empty" message. Anyone have any clues?
Hi Rich,
Thank you for all the replies and the time you obviously spent reviewing the environment. I finally found a resolution - when I was configuring my Authentication, I was specifying the NTLM authentication as
Username: MyDomain\MyUserID
Password: xxxxxxx
Domain: <left blank>
What I had to do is specify the domain separately in the "Domain" field, e.g.
Username: MyUserID
Password: xxxxxxx
Domain: MyDomain
Once I did that, the web service responded.
Again, I am new to web services, so I don't always know where to look or what responses actually mean. But i do appreciate your time.
Regards,
Ron