[ 
https://issues.apache.org/jira/browse/AXIS2-3933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126213#comment-13126213
 ] 

Andreas Veithen commented on AXIS2-3933:
----------------------------------------

It should be noted that Axis2 has dependencies on two other libraries that 
provide MIME multipart writing capabilities, namely Axiom and JavaMail. I'm not 
sure that the optimal solution is to fork the code from Commons HttpClient to 
create yet another MIME multipart writer in Axis2 (which is what 
AXIS2-3933_2.patch does).

I think that Sagara correctly identified the key problem that prevented 
progress on this issue, namely the lack of test coverage. If there are enough 
unit tests, then it is simple to rewrite the code to reuse Axiom or JavaMail.
                
> Axis2 kernel currently has a direct dependency on Commons HttpClient 3.1
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-3933
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3933
>             Project: Axis2
>          Issue Type: Wish
>          Components: kernel
>    Affects Versions: nightly
>            Reporter: Oleg Kalnichevski
>            Assignee: Sagara Gunathunga 
>         Attachments: AXIS2-3933.patch, AXIS2-3933_2.patch, axis2-kernel.patch
>
>
> (1) This seems conceptually wrong to me. The kernel ought not have any 
> dependencies on a transport specific libraries
> (2) A more practical reason: it is just a matter of time HttpClient 3.1 will 
> be superceded by HttpClient 4.0 and support for commons HttpClient will be 
> discontinued. 
> If there is an agreement this is indeed an issue, which should be resolved, I 
> will happily invest time looking into what it takes to decouple HttpClient 
> from Axis2 kernel.
> Oleg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to