Axis sending soap messages with HTTP 1.0 and receiving HTTP 1.1 soap calls
I'm new to web services and soap so I am likely to make newb mistakes. The project I am working on sends and receives soap messages from a server (I can't modify the server configuration). The server uses Axis 开发者_如何学编程1.4 and I have generated my client stubs also with Axis 1.4, I want to use HTTP 1.1 persistent connections so I configured Axis to use Apache HTTP Common Library. I configured Axis using the examples documented at site 1, site 2, and site 3. Now when I make a soap call it sends the soap message using HTTP 1.0 and receives the message using HTTP 1.1. Does anybody know why I am still sending messages using HTTP 1.0 instead of HTTP 1.1?
I forgot to include the modified axis jar in my projects class path. After that I could send and receive messages using HTTP 1.1.
精彩评论