Contributions
Re: SoapUI 5.2.0 receiving response: HTTP/1.1 301 Moved Permanently
The mock service and soapui run on the same machine. Because it didn't work I performed the same test on another machine (also Windows Server 2012 R2) and there it worked. I realy don't knowwhy it failed on the first machine. On both machines I performed the same steps: - Downloaded SoapUI 5.2.0 and install iton a Windows Server 2012 R2 machine - Import Sample SOAP Project Core - Generate New SOAP MockService - Start the ServiceSoapBinding MockService - Open login rq and submit request3.6KViews0likes1CommentRe: SoapUI 5.2.0 receiving response: HTTP/1.1 301 Moved Permanently
I did the same test on another machine (also Windows Server 2012 R2) and it worked (see the log below). When I compare the logs of both tests I see a small difference. Working: Sending request: POST /mockServiceSoapBinding HTTP/1.1 Not working: Sending request: POST http://127.0.0.1:8088/mockServiceSoapBinding HTTP/1.1 Why does SoapUI use the host addres (http://127.0.0.1:8088) on the machine where the tutorial doesn't work? How can I tell SoapUI that it must not use the host address? SoapUI log: Sat Sep 12 18:43:09 CEST 2015:DEBUG:Attempt 1 to execute request Sat Sep 12 18:43:09 CEST 2015:DEBUG:Sending request: POST /mockServiceSoapBinding HTTP/1.1 Sat Sep 12 18:43:10 CEST 2015:DEBUG:Receiving response: HTTP/1.1 200 OK Sat Sep 12 18:43:10 CEST 2015:DEBUG:Connection can be kept alive indefinitely Sat Sep 12 18:43:10 CEST 2015:INFO:Got response for [ServiceSoapBinding.login:login rq] in 247ms (283 bytes) Sat Sep 12 18:43:40 CEST 2015:DEBUG:Connection closed3.6KViews0likes3CommentsSoapUI 5.2.0 receiving response: HTTP/1.1 301 Moved Permanently
I downloaded SoapUI 5.2.0 on Windows Server 2012 R2 and performed the steps of the tutorial. - import Sample SOAP Project Core - generate New SOAP MockService - start the ServiceSoapBinding MockService - open login rq and submit request However this doen't work. I'm getting an unexpected response: HTTP/1.1 301 Moved Permanently (see the log below) and the standard page of IIS. Any idee of what could be wrong on my machine? SoapU log: Fri Sep 11 08:55:56 CEST 2015:INFO:Mounted WSDL for interface [ServiceSoapBinding] at [/mockServiceSoapBinding?WSDL] Fri Sep 11 08:55:56 CEST 2015:INFO:Started mockService [ServiceSoapBinding MockService] on port [8088] at path [/mockServiceSoapBinding] Fri Sep 11 08:56:16 CEST 2015:DEBUG:Attempt 1 to execute request Fri Sep 11 08:56:16 CEST 2015:DEBUG:Sending request: POST http://127.0.0.1:8088/mockServiceSoapBinding HTTP/1.1 Fri Sep 11 08:56:16 CEST 2015:DEBUG:Receiving response: HTTP/1.1 301 Moved Permanently Fri Sep 11 08:56:16 CEST 2015:DEBUG:Connection shut down Fri Sep 11 08:56:16 CEST 2015:DEBUG:Attempt 1 to execute request Fri Sep 11 08:56:16 CEST 2015:DEBUG:Sending request: GET http://145.219.224.214/ HTTP/1.1 Fri Sep 11 08:56:16 CEST 2015:DEBUG:Receiving response: HTTP/1.1 200 OK Fri Sep 11 08:56:16 CEST 2015:DEBUG:Connection can be kept alive indefinitely Fri Sep 11 08:56:16 CEST 2015:INFO:Got response for [ServiceSoapBinding.login:login rq] in 8ms (701 bytes)Solved3.7KViews0likes4Comments