dev@jax-ws.java.net

Metro/JAXWS and network packets...

From: Tony Anecito <adanecito_at_yahoo.com>
Date: Thu, 15 Oct 2009 00:36:51 -0700 (PDT)

I noticed if I send a request via Metro using a small object that is less than 1460 bytes (Maximm Segment Size or MTU Maximum Transport Unit size) the data gets sent/received in two packets. If I use Firefox and request a small html file I only get one packet.

Any idea why this is happening? It seems to double the number of packets for communication. The data is not duplicated in the two packets but instead is fragmented.

I am using a Java Client using jre 1.6.0_16 and the Tomcat Server hosting the web service is also using jdk 1.6.0_16. All are Windows based OS.

Regards,
-Tony