File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 12809
    
    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