Actually I have a patched version which was reported as a bug previously.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16522
I am using Norris's Patch of 2/4/03 listed there.
I got my client to work now but I had to hack the source "HTTPSender" to
always use HTTP/1.1 instead of HTTP/1.0.
I dont see a huge improvement in speed for my simple ping tests and so I am
guessing that something is still missing with regard to persistent
connection. I still want to know how to switch it from HTTP/1.0 to HTTP/1.1
from client code.
I dont know how these numbers compare to other tests other people have done.
But if they are way off let me know. I am evaluating AXIS with other SOAP
products for a Java Client application.
gSOAP 2.2.2 C++ server / AXIS 1.1 (patched) Java Client on a single Win2K
machine
(WITH Persistent Connection - HTTP1/1 - KEEP-ALIVE):
1000 Pings: 3.595 seconds (278.16412/sec)
1000 String in: 3.505 seconds (285.3067/sec)
1000 String out: 2.925 seconds (341.88034/sec)
1000 String i/o: 3.084 seconds (324.2542/sec)
1000 Double in: 3.135 seconds (318.97928/sec)
1000 Double out: 3.214 seconds (311.13876/sec)
1000 Double i/o: 3.135 seconds (318.97928/sec)
1000 StringSeq 10 in: 3.305 seconds (302.57187/sec)
1000 StringSeq 10 out: 9.553 seconds (104.67915/sec)
1000 StringSeq 10 i/o: 9.404 seconds (106.33772/sec)
Thanks,
Kamlesh
----- Original Message -----
From: "Steve Loughran" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 18, 2003 9:43 AM
Subject: Re: HowTo change Transport type from HTTP/1.0 to HTTP/1.1
you need to wait for http1.1 support in axis, including persistent
connections. Which means you either need to wait for java.net to fix its
http1.1 support, or Axis to incorporate the Jakarta project's HttpClient 2.0
library to provide working htpt1.1. code.
----- Original Message -----
From: "Kamlesh Patel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 17, 2003 17:55
Subject: HowTo change Transport type from HTTP/1.0 to HTTP/1.1
Hi,
I have written a simple client program using AXIS to connect to a gSOAP
based server. By default is uses HTTP/1.0. Is there a simple way to change
this from the client code. I used the WSDL2Java tool to create my java
stubs.
Basically I want to use the persistent connection feature of HTTP/1.1.
I am doing the following in my client code, but without luck.
...
//public class TestLocator extends org.apache.axis.client.Service implements
TestPackage.Test
TestLocator service = new TestLocator();
AxisEngine engine = service.getEngine();
MessageContext msg = new MessageContext(engine);
msg.setProperty("axis.transport.version","HTTP/1.1");
...
What am I missing here. Can't seem to get the property understood. I keep
sending using HTTP/1.0.
Any pointers will be very HelpFull.
Thanks,
Kamlesh