You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Robert Lazarski (Jira)" <ji...@apache.org> on 2019/10/17 13:57:00 UTC
[jira] [Commented] (AXIS2-5970) Axis 2 still uses http 3.x
components. Can you upgrade them to latest ?
[ https://issues.apache.org/jira/browse/AXIS2-5970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16953764#comment-16953764 ]
Robert Lazarski commented on AXIS2-5970:
----------------------------------------
Its confusing and I don't know why it happened that way, but anyways while Axis2 uses commons 3.x libs by default you can use HTTP4 libs by removing the old jars and tweaking your axis2.xml file like so ... it will be like this in the next release.
<transportSender name="http"
class="org.apache.axis2.transport.http.impl.httpclient4.HTTPClient4TransportSender">
<parameter name="PROTOCOL">HTTP/1.1</parameter>
<parameter name="Transfer-Encoding">chunked</parameter>
<!-- If following is set to 'true', optional action part of the Content-Type will not be added to the SOAP 1.2 messages -->
<!-- <parameter name="OmitSOAP12Action">true</parameter> -->
</transportSender>
<transportSender name="https"
class="org.apache.axis2.transport.http.impl.httpclient4.HTTPClient4TransportSender">
<parameter name="PROTOCOL">HTTP/1.1</parameter>
<parameter name="Transfer-Encoding">chunked</parameter>
</transportSender>
> Axis 2 still uses http 3.x components. Can you upgrade them to latest ?
> -----------------------------------------------------------------------
>
> Key: AXIS2-5970
> URL: https://issues.apache.org/jira/browse/AXIS2-5970
> Project: Axis2
> Issue Type: Bug
> Affects Versions: 1.7.9
> Reporter: Shashidhar Gowda
> Priority: Major
>
> Axis2 1.7.9 uses several old commons components. [https://mvnrepository.com/artifact/org.apache.axis2/axis2/1.7.9]
>
> Particularity the httpclient-3.1.jar is worrisome as that is end of life. [https://hc.apache.org/httpclient-3.x/]
>
> Can this be upgraded to the latest or a maintained version ?
> commons-codec-1.2.jar
> commons-fileupload-1.3.3.jar
> commons-httpclient-3.1.jar
> commons-logging-1.1.1.jar
> commons-io-2.1.jar
>
> Regards,
> Shashi
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org