You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Joan Barrull <jo...@giria.com> on 2007/07/11 17:29:19 UTC

How to set HTTP/1.1 with Axis1.4

Hi guys,

I am using Axis 1.4. My client, generated through wsdl2java, works fine.
Following is the piece of code that sends the request:

 MyServiceLocator  se = new MIBServiceLocator();

  MyPortType stub = se.getMIBPort(new java.net.URL(endPointMIB));

Problem is, when I monitor the request through the tcpmonitor, I get the
following header:

POST /isadpt_grupo1 HTTP/1.0


How can I modify my code in order to send through HTTP/1.1 instead of
HTTP/1.0?

Thanks in advance,

joan