15 years ago
Secondary HTTP Requests with no Payload - RESTful services
I have experienced the following behaviour with version 3.6.1 that does not occur with 3.5.1...
When posting a RESTful HTTP request to a service, the original request comes through with it's payload and correct HTTP header:
POST http://localhost:7080/ESB/HTTPProxyService HTTP/1.1
Accept-Encoding: gzip,deflate
Accept: application/json
Content-Type: text/xml
User-Agent: Jakarta Commons-HttpClient/3.1
Host: localhost:7080
Connection: Keep-Alive
Content-Length: 1721
...body... etc
This is successfully processed by the RESTful service provider and immediately after returning a response, SOAP UI 3.6.1 sends a secondary request to the service in a fresh transaction - with no payload and the following header...
POST http://localhost:7080/ESB/HTTPProxyService HTTP/1.1'
'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko'
Accept = 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
Accept-Language = 'en-us,en;q=0.5'
Accept-Encoding = 'gzip,deflate'
Accept-Charset = 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
Keep-Alive = '115'
Connection = 'keep-alive' (CHARACTER)
When posting a RESTful HTTP request to a service, the original request comes through with it's payload and correct HTTP header:
POST http://localhost:7080/ESB/HTTPProxyService HTTP/1.1
Accept-Encoding: gzip,deflate
Accept: application/json
Content-Type: text/xml
User-Agent: Jakarta Commons-HttpClient/3.1
Host: localhost:7080
Connection: Keep-Alive
Content-Length: 1721
...body... etc
This is successfully processed by the RESTful service provider and immediately after returning a response, SOAP UI 3.6.1 sends a secondary request to the service in a fresh transaction - with no payload and the following header...
POST http://localhost:7080/ESB/HTTPProxyService HTTP/1.1'
'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko'
Accept = 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
Accept-Language = 'en-us,en;q=0.5'
Accept-Encoding = 'gzip,deflate'
Accept-Charset = 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
Keep-Alive = '115'
Connection = 'keep-alive' (CHARACTER)