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 fi...
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.
firstly, this is in the wrong forum - this is the ReadyAPI! forum so this should've been raised in the open source SoapUI board.
Anyway - I just need to clarify what you've done as I'm a little confused.
Q1. You created your project based on the .wsdl - correct?
Q2. Did you create a testcase and subsequent teststep using the .wsdl?
Q3. Did you copy the SOAP request payload into the teststep or was it dynamically generated?
Q4. Where you say "If I copy the WSDL and paste it into a browser, the web service call runs successfully." - what do you mean - "it runs successfully" when you copy it into a browser. I'm not understanding what you mean by run it when its in the browser....????
Q5. Can you provide the full RAW details of both the request and it's response please? When I say full RAW - I mean, HTTP headers and payload.
First of all, I apologize for posting in the wrong forum - I DID try to find a SoapUI or ReadyAPI forum, but it was not listed in the choices when I created this post. My bad.
Q1. You created your project based on the .wsdl - correct?
Yes - I created a new project and pasted in the URL for the endpoint for my webservice that returns the WSDL - it populated all the methods correctly.
Q2. Did you create a testcase and subsequent teststep using the .wsdl?
No - I'm not yet experienced enough in creating test cases - I wanted to just manually run the request to see if i could receive a reply
Q3. Did you copy the SOAP request payload into the teststep or was it dynamically generated?
I am new to SoapUI and much of the terminology in web services - I am an application developer learning the web-service side. But here's what I did:
1. I created a SOAP Project and loaded the WSDL that I had previously saved as an .xml file - it generated all the methods
2. I rightclicked on one of the methods and clicked "New Request" - On the XML tab, it showed the WSDL. On the "Raw" tab, it showed <missing raw request data" 3. I filled in the required data in the request and clicked the green execute arrow 4. I received the response "line -1: Response is missing or empty"
Q4. Where you say "If I copy the WSDL and paste it into a browser, the web service call runs successfully." - what do you mean - "it runs successfully" when you copy it into a browser. I'm not understanding what you mean by run it when its in the browser....????
We currently use Wizdler to test the web services. I can input the URL for the endpoint and select the method I wish to test. If I input the required data and click "GO" (a button that Wizdler adds to Chrome), the request is executed and the response appears in another window. The format of the WSDL generated by Wizdler is slightly different, so I copied the SoapUI request into the Wizdler Request Window and clicked "Go". I received a correct response.
Q5. Can you provide the full RAW details of both the request and it's response please? When I say full RAW - I mean, HTTP headers and payload.
The screenshot above is what I think you want - it shows the raw tab on the request page and the response in the lower right.
If my questions are too elementary, I apologize, and I'll try other resources. Thank you for your team.