This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Http Soap transaction not clear when using Follow Streem

0

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.

Request: POST /fndint/soapgateway HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: text/xml;charset=UTF-8 SOAPAction: "urn:soap_access_provider:MoboffHandlePurchReq:ReceiveRetailPurchReq/post" Content-Length: 11099 Host: lkpvmpe1767.corpnet.ifsworld.com:58080 Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5) Authorization: Basic aWZzYXBwOmlmc2FwcGJudA==

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#..>.

]..(.P...k.d..xj.DM.l..z...ib.i..M...bSge..K~.P..L..c...... a ...(...... 0

Why is that ?

Many thanks in advance!

George

asked 19 Aug '14, 02:47

GeorgeX's gravatar image

GeorgeX
16114
accept rate: 0%

edited 19 Aug '14, 03:28

grahamb's gravatar image

grahamb ♦
19.8k330206

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 ...

(19 Aug '14, 02:50) GeorgeX

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.

(19 Aug '14, 03:29) grahamb ♦

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

(19 Aug '14, 04:06) GeorgeX

One Answer:

2

Coz it's gzipped?

answered 19 Aug '14, 04:29

PaulOfford's gravatar image

PaulOfford
131283237
accept rate: 11%

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