axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henrik Nordberg (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Created: (AXISCPP-705) enum AXISC_EXCEPTIONS used as index for SoapFaultStruct -- but they don't match
Date Tue, 21 Jun 2005 18:35:18 GMT
enum AXISC_EXCEPTIONS used as index for SoapFaultStruct -- but they don't match
-------------------------------------------------------------------------------

         Key: AXISCPP-705
         URL: http://issues.apache.org/jira/browse/AXISCPP-705
     Project: Axis-C++
        Type: Bug
  Components: Server - Engine  
    Versions: current (nightly)    
 Environment: Windows XP Pro, VS2003
    Reporter: Henrik Nordberg


SoapFault* SoapFault::getSoapFault(int iFaultCode) has the following line:

string strFaultcode = s_parrSoapFaultStruct[iFaultCode].pcFaultcode;

where iFaultCode is passed in as the result of this call:

Status = engine->process(pStream);

Satus becomes 69 in the situation I am debugging. This value is defined as SERVER_CLIENT_ENGINE_MISMATCH
in AXISC_EXCEPTIONS but SoapFaultStruct only has values up to 52 and the descriptions don't
seem to match the corresponding values in AXISC_EXCEPTIONS. Something is seriously wrong here....

string strFaultcode = s_parrSoapFaultStruct[iFaultCode].pcFaultcode; crashes since s_parrSoapFaultStruct
has no entry for iFaultCode == 69.

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


Mime
View raw message