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

I am unable to get the http request in xml format. The response it giving in both hexadecimal and xml format. I'm firing the request from one linux server to another.


0090  74 3a 20 74 65 78 74 2f 68 74 6d 6c 2c 20 69 6d   t: text/html, im
00a0  61 67 65 2f 67 69 66 2c 20 69 6d 61 67 65 2f 6a   age/gif, image/j
00b0  70 65 67 2c 20 2a 2f 2a 3b 20 71 3d 2e 32 0d 0a   peg, */*; q=.2..
00c0  43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 4b 65 65 70   Connection: Keep
00d0  2d 41 6c 69 76 65 0d 0a 0d 0a 30 63 30 36 0d 0a   -Alive....0c06..
00e0  3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31   <?xml version="1
00f0  2e 30 22 20 65 6e 63 6f 64 69 6e 67 3d 22 55 54   .0" encoding="UT
0100  46 2d 38 22 3f 3e 0a 3c 65 6e 76 3a 45 6e 76 65   F-8"?>.<env:Enve
0110  6c 6f 70 65 20 78 6d 6c 6e 73 3a 65 6e 76 3d 22   lope xmlns:env="
0120  68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f 72   http://www.w3.or
0130  67 2f 32 30 30 33 2f 30 35 2f 73 6f 61 70 2d 65   g/2003/05/soap-e
0140  6e 76 65 6c 6f 70 65 22 3e 0a 20 20 20 20 3c 65   nvelope">.    <e
0150  6e 76 3a 48 65 61 64 65 72 20 77 73 61 3a 6d 75   nv:Header wsa:mu
0160  73 74 55 6e 64 65 72 73 74 61 6e 64 3d 22 31 22   stUnderstand="1"
0170  20 78 6d 6c 6e 73 3a 77 73 61 3d 22 68 74 74 70    xmlns:wsa="http
0180  3a 2f 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 32 30   ://www.w3.org/20
0190  30 35 2f 30 38 2f 61 64 64 72 65 73 73 69 6e 67   05/08/addressing
01a0  22 3e 0a 20 20 20 20 20 20 20 20 3c 77 73 61 3a   ">.        <wsa:
01b0  54 6f 3e 68 74 74 70 3a 2f 2f 6c 6f 63 61 6c 68   To>http://localh
01c0  6f 73 74 3a 38 30 38 30 2f 50 49 58 4d 61 6e 61   ost:8080/PIXMana
01d0  67 65 72 5f 53 65 72 76 69 63 65 2f 50 49 58 4d   ger_Service/PIXM

asked 30 Jul '12, 03:57

prasobh's gravatar image

prasobh
1222
accept rate: 0%

edited 30 Jul '12, 08:45

multipleinterfaces's gravatar image

multipleinte...
1.3k152340

im using the below command to get the output. tshark -i eth1 host 10.81.172.109 -V -R http > Tshark_Test1.cap

(30 Jul '12, 04:00) prasobh

Please try this:

  1. use this display filter: http.request
  2. pick a request at your choice (left click)
  3. right click -> "Follow TCP Stream"

You will see all requests (and responses) within that TCP stream in the pop-up window. Copy-Paste whatever part of the request you need.

Regards
Kurt

permanent link

answered 30 Jul '12, 13:11

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 30 Jul '12, 13:12

Hi Kurt, im getting the xml format of request while checking wire shark in gui mode. But not in command mode when using tshark command.

(03 Sep '12, 00:13) prasobh
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×36

question asked: 30 Jul '12, 03:57

question was seen: 7,634 times

last updated: 03 Sep '12, 02:05

p​o​w​e​r​e​d by O​S​Q​A