[ 
http://issues.apache.org/jira/browse/AXIS2-761?page=comments#action_12412766 ] 

Oleg Kalnichevski commented on AXIS2-761:
-----------------------------------------

Four failures out of five were caused by a one-liner bug in my code and were 
trivial to fix. I am having a hard time with the fifth one, though - 
ServiceGroupContextTest. In fact I am not sure I understand how it is supposed 
to work at all. The comment accompanying the test case does not help making me 
believe the test case it right. 

================================================================
        //TODO : ple imporove this , what I have done is a hack

        OMElement result2 = 
sender.sendReceive(defaultEnvelope.getBody().getFirstElement());

        String text = result2.getText();

        assertEquals("Number of requests should be 2", 2, 
Integer.parseInt(text));
================================================================

Does anyone know the background of this?

Oleg

> SimpleHttpServer based on Jakarta HttpComponents HttpCore
> ---------------------------------------------------------
>
>          Key: AXIS2-761
>          URL: http://issues.apache.org/jira/browse/AXIS2-761
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Improvement

>   Components: transports
>     Versions: 1.0
>     Reporter: Oleg Kalnichevski
>  Attachments: jakarta-httpcore-4.0-20060521.jar, simplehttpserver.patch
>
> The following patch replaces the SimpleHttpServer implementation based on the 
> testing framework of Commons HttpClient 3.x with a one based on Jakarta 
> HttpComponents HttpCore. Compiled against Axis2 trunk and HttpCore trunk
> * Removes all references to Commons HttpClient classes
> * Enables streaming of schema definitions and similar content
> * Improves content buffering of SOAP response 
> * Improves handling of fault conditions and exception handling
> * Fixes a number of NPEs in AxisEngine
> * Improves performance and reliability of the HTTP transport

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to