This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes Modify the HTTP version in the Java Standard APIs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Modify the HTTP version in the Java Standard APIs" Watch "Modify the HTTP version in the Java Standard APIs" New topic
Author

Modify the HTTP version in the Java Standard APIs

Khaled Mahmoud
Ranch Hand

Joined: Jul 15, 2006
Posts: 361
Hi all,

Can i modify the HTTP Version for the Java XML Standard APIs.
I mean using a method on the SOAPConnection object to send an HTTP request
version 1.1 instead of 1.0


Thanks in advance


SCJP, SCJD,SCWCD,SCDJWS,SCEA 5 MCP-C#, MCP-ASP.NET - http://www.khaledinho.com/
Life is the biggest school
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
It is my understanding the HTTP 1.1 is what you get automatically. When I first started working with SOAP several Java versions ago thats what I saw in the headers. Use the TCPMON tool to see what your code is actually sending.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Modify the HTTP version in the Java Standard APIs