Jochen Wiedmann a écrit :
Eric BOYER wrote:
Server :
public void testVector(Vector vec) {
System.out.println("testVector(vec)");
System.out.println("vec : "+vec);
}
public String testVector() {
System.out.println("testVector()");
return "OK";
}
What happens, if you remove testVector()? Besides, can you trace the
servers input? For example, by using tcpmon, or ethereal?
Jochen
here is my ethereal output ...
my <params> are "free" ...
Si I think it comes from my PHP Client
0000 00 00 00 00 00 00 00 00 00 00 00 00 08 00 45 00 ..............E.
0010 01 2b e8 72 40 00 40 06 3a d9 0a 08 01 39 0a 08 [EMAIL
PROTECTED]@.:....9..
0020 01 39 e8 62 29 04 f6 65 62 5b f6 aa 42 7d 80 18 .9.b)..eb[..B}..
0030 20 00 d6 59 00 00 01 01 08 0a 28 65 8a 3e 28 65 ..Y......(e.>(e
0040 8a 34 50 4f 53 54 20 2f 52 50 43 32 20 48 54 54 .4POST /RPC2 HTT
0050 50 2f 31 2e 30 0d 0a 55 73 65 72 2d 41 67 65 6e P/1.0..User-Agen
0060 74 3a 20 50 48 50 20 58 4d 4c 52 50 43 20 31 2e t: PHP XMLRPC 1.
0070 30 0d 0a 48 6f 73 74 3a 20 66 6f 6f 74 63 72 69 0..Host: footcri
0080 78 2e 69 6e 73 61 2d 74 6f 75 6c 6f 75 73 65 2e x.insa-toulouse.
0090 66 72 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 fr..Content-Type
00a0 3a 20 74 65 78 74 2f 78 6d 6c 0d 0a 43 6f 6e 74 : text/xml..Cont
00b0 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 31 31 38 0d ent-Length: 118.
00c0 0a 0d 0a 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e ...<?xml version
00d0 3d 22 31 2e 30 22 3f 3e 0d 0a 3c 6d 65 74 68 6f ="1.0"?>..<metho
00e0 64 43 61 6c 6c 3e 0d 0a 3c 6d 65 74 68 6f 64 4e dCall>..<methodN
00f0 61 6d 65 3e 62 6f 6e 6a 6f 75 72 2e 74 65 73 74 ame>bonjour.test
0100 56 65 63 74 6f 72 3c 2f 6d 65 74 68 6f 64 4e 61 Vector</methodNa
0110 6d 65 3e 0d 0a 3c 70 61 72 61 6d 73 3e 0d 0a 3c me>..<params>..<
0120 2f 70 61 72 61 6d 73 3e 0d 0a 3c 2f 6d 65 74 68 /params>..</meth
0130 6f 64 43 61 6c 6c 3e 0d 0a odCall>..