You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Dinesh Premalal (JIRA)" <ax...@ws.apache.org> on 2005/09/13 12:03:56 UTC

[jira] Created: (AXISCPP-827) ManyTypeRefRoot test failed with Guththila

ManyTypeRefRoot test failed with Guththila
------------------------------------------

         Key: AXISCPP-827
         URL: http://issues.apache.org/jira/browse/AXISCPP-827
     Project: Axis-C++
        Type: Sub-task
    Reporter: Dinesh Premalal




-- 
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


[jira] Assigned: (AXISCPP-827) ManyTypeRefRoot test failed with Guththila

Posted by "Chinthana Danapala (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-827?page=all ]

Chinthana Danapala reassigned AXISCPP-827:
------------------------------------------

    Assign To: Chinthana Danapala

> ManyTypeRefRoot test failed with Guththila
> ------------------------------------------
>
>          Key: AXISCPP-827
>          URL: http://issues.apache.org/jira/browse/AXISCPP-827
>      Project: Axis-C++
>         Type: Sub-task
>     Reporter: Dinesh Premalal
>     Assignee: Chinthana Danapala

>


-- 
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


[jira] Commented: (AXISCPP-827) ManyTypeRefRoot test failed with Guththila

Posted by "Dinesh Premalal (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-827?page=comments#action_12330472 ] 

Dinesh Premalal commented on AXISCPP-827:
-----------------------------------------

Hi all ,
after adding  following line to the getBytes () method in HTTPTransport.cpp , 
I was able to pass this test (ManyTypeRefRoots). 

/* Line 491 */

 if (m_iBytesLeft == 0) /* I added only this condition */
    {
      switch( m_GetBytesState)
        {
        case eWaitingForHTTPHeader:
          {
            // Wait for a HTTP header to be located on the input stream.
            do
              {
                // From the input stream, wait for a 'valid' HTTP header.
                readHTTPHeader();

                ..................................

                   ..........................

           


> ManyTypeRefRoot test failed with Guththila
> ------------------------------------------
>
>          Key: AXISCPP-827
>          URL: http://issues.apache.org/jira/browse/AXISCPP-827
>      Project: Axis-C++
>         Type: Sub-task
>     Reporter: Dinesh Premalal

>


-- 
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


[jira] Updated: (AXISCPP-827) ManyTypeRefRoot test failed with Guththila

Posted by "Chinthana Danapala (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-827?page=all ]

Chinthana Danapala updated AXISCPP-827:
---------------------------------------

    Attachment: results(after my changes).log

Hi Fred/all,

Oops sorry for any inconveniance happen. I have made the changes to SVN after run the test frame work. We got only following test failed which are failing for us normaly.

AttDataHandlerExecuteClass 
AttDataHandlerImage 
AttDataHandlerText 
AttMultiAttachment 
AttMultiAttachmentFault 
AttMultiSameAttachment 
AttNillableAttachment 
AttPlainText 
AttPlainTextSSL 
Attachment1 
AwkwardErrorResponse 
CalculatorDocSSL 
CalculatorDocSSL1 
CalculatorDocSSLConfigFile 
ComplexLists 
DynUnrefAttachmentTest 
DynamicAttachment 
ExceptionTestDoc 
FaultMappingDoc 
FaultMappingDoc_TTest 
FaultMappingRepeatedDoc 
General_TTest 
InteropTestRound1Doc 
NestedArrays 
OtherFaultException 
SimpleTypeInnerUnboundedInOutput 
SimpleTypeInnerUnboundedInOutput_TTest 
TestGetNamespacePrefix 
TestTransportProxy 
XSD_anyURInonUTF8 
XSD_float1 
XSD_positiveInteger 
XSD_string2 
nillableComplexType

I have attached the log file too.
Anyway I'll see what was wrong.

Thanks
Chinthana


> ManyTypeRefRoot test failed with Guththila
> ------------------------------------------
>
>          Key: AXISCPP-827
>          URL: http://issues.apache.org/jira/browse/AXISCPP-827
>      Project: Axis-C++
>         Type: Sub-task
>     Reporter: Dinesh Premalal
>     Assignee: Chinthana Danapala
>  Attachments: results(after my changes).log
>


-- 
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


[jira] Commented: (AXISCPP-827) ManyTypeRefRoot test failed with Guththila

Posted by "Dinesh Premalal (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-827?page=comments#action_12324437 ] 

Dinesh Premalal commented on AXISCPP-827:
-----------------------------------------

In AxisInputStream read implement as follows.

int
AxisInputStream::read (char* buffer, int offset, int length)
{
  int size = length;
  m_pInputStream->getBytes (buffer+offset, &size);
  return size;
}

Maximum length is 1024. 
When we recieved a response larger than 1024 bytes, we could get first 1024 bytes without any problem but unable to get rest of the messege. Is there any way to get that part?

thanks,
Dinesh

> ManyTypeRefRoot test failed with Guththila
> ------------------------------------------
>
>          Key: AXISCPP-827
>          URL: http://issues.apache.org/jira/browse/AXISCPP-827
>      Project: Axis-C++
>         Type: Sub-task
>     Reporter: Dinesh Premalal

>


-- 
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


[jira] Resolved: (AXISCPP-827) ManyTypeRefRoot test failed with Guththila

Posted by "Chinthana Danapala (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-827?page=all ]
     
Chinthana Danapala resolved AXISCPP-827:
----------------------------------------

    Resolution: Fixed

Add the line if (m_iBytesLeft == 0) to he getBytes () method in HTTPTransport.cpp.

> ManyTypeRefRoot test failed with Guththila
> ------------------------------------------
>
>          Key: AXISCPP-827
>          URL: http://issues.apache.org/jira/browse/AXISCPP-827
>      Project: Axis-C++
>         Type: Sub-task
>     Reporter: Dinesh Premalal
>     Assignee: Chinthana Danapala

>


-- 
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


[jira] Updated: (AXISCPP-827) ManyTypeRefRoot test failed with Guththila

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/AXISCPP-827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

nadir amra updated AXISCPP-827:
-------------------------------

    Component/s: XML parser abstraction layer

> ManyTypeRefRoot test failed with Guththila
> ------------------------------------------
>
>                 Key: AXISCPP-827
>                 URL: https://issues.apache.org/jira/browse/AXISCPP-827
>             Project: Axis-C++
>          Issue Type: Sub-task
>          Components: XML parser abstraction layer
>            Reporter: Dinesh Premalal
>         Attachments: results(after my changes).log
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Reopened: (AXISCPP-827) ManyTypeRefRoot test failed with Guththila

Posted by "Fred Preston (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-827?page=all ]
     
Fred Preston reopened AXISCPP-827:
----------------------------------


Hi Chinthana,
By putting in the change that you made you have stopped chunking from working and so the majority of the regression tests fail.  What is happening is that if more than one chunk of data is read then the data after the chunk is 'held back' in nextChunk string.  When xerces drains the buffer it will call getBytes again, but because m_iBytesLeft is not zero it will not process the contents of the buffer and will pass back the unprocessed remainder of the message.  I think you will need to rethink your solution.

Regards,

Fred Preston.

> ManyTypeRefRoot test failed with Guththila
> ------------------------------------------
>
>          Key: AXISCPP-827
>          URL: http://issues.apache.org/jira/browse/AXISCPP-827
>      Project: Axis-C++
>         Type: Sub-task
>     Reporter: Dinesh Premalal
>     Assignee: Chinthana Danapala

>


-- 
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


[jira] Assigned: (AXISCPP-827) ManyTypeRefRoot test failed with Guththila

Posted by "Chinthana Danapala (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-827?page=all ]

Chinthana Danapala reassigned AXISCPP-827:
------------------------------------------

    Assign To:     (was: Chinthana Danapala)

> ManyTypeRefRoot test failed with Guththila
> ------------------------------------------
>
>          Key: AXISCPP-827
>          URL: http://issues.apache.org/jira/browse/AXISCPP-827
>      Project: Axis-C++
>         Type: Sub-task
>     Reporter: Dinesh Premalal
>  Attachments: results(after my changes).log
>


-- 
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