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

Reply via email to