Hi, I am tring to debug a webservice, I use SoapUI to send the request to a webservice, the response message is readable XML in SoapUI, but in wireshark using follow streem, request is readable , response is in binary.
Response: HTTP/1.1 200 OK Date: Tue, 19 Aug 2014 07:31:05 GMT Server: Oracle-Application-Server-12c Set-Cookie: JSESSIONID=WKztLShFU8Avi6L7BrGNOPAofrYIqVqmoqQw7DVmYQEBcfhV8D63!807751062; path=/; HttpOnly X-Powered-By: Servlet/3.0 JSP/2.2 Vary: Accept-Encoding Content-Encoding: gzip Keep-Alive: timeout=5, max=99 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/xml; charset="UTF-8" Content-Language: en d6 [email protected](.....*./fA.-..m.}S.PHn... ..q`38.hb.!.|...N.>...,x....U.R.i..R3.....gH..;M...S{......66D.._..R.....b......"..?f.}8#..>.
Why is that ? Many thanks in advance! George asked 19 Aug '14, 02:47 GeorgeX edited 19 Aug '14, 03:28 grahamb ♦ |
One Answer:
Coz it's gzipped? answered 19 Aug '14, 04:29 PaulOfford Yes, it can be, is there any option in WireShark to show it unzipped? (19 Aug '14, 05:28) GeorgeX PaulOfford: You are right! content is gzipped according to the http Content-Encoding parameter. Thanks for that. I am not sure if it is possible to show the gazipped content in WireShark ?? George (19 Aug '14, 05:34) GeorgeX Solved: I set Response Compression = False in SoapUI in the request so that the response comes in plain XML! Thanks all! (19 Aug '14, 05:53) GeorgeX |
I have omitted the request XML since it will not show the element names in the forum posts, could not fins a plain text mode ...
The tags < code >< /code > format text as code, but still don't get it all correct. Note that there are no spaces in the real tags.
Thanks for the information, however, the request XML is not important to show in this post since the main problem is why wire shark does not interpret the response XML message correct and Soap UI gives a clear response message ? Is there a decoding flag that I should enable in WireShar to decode the response ?
Thanks