Hi Nadir,

This problem is reported in JIRA 871. You can refer this jira for more
details.


Regards
Manohar



                                                                           
             Nadir Amra                                                    
             <[EMAIL PROTECTED]>                                             
                                                                        To 
             01/31/2006 05:25          "Apache AXIS C Developers List"     
             AM                        <[email protected]>          
                                                                        cc 
                                                                           
             Please respond to                                     Subject 
              "Apache AXIS C           tests failing with incompatible     
             Developers List"          types                               
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




I downloaded yesterday's code and ran test bucket and getting some compile
errors:

       [cc]
"/home/amra/axis/L060127/obj/test/generated/cpp/UnitTest_ComplexTypeNillableAll/aRecord.cpp",

line 145.51: CZP0256(30)
 parameter of type "int **" cannot be initialized with an expression of
type "axiscpp::xsd__int *".
       [cc]
"/home/amra/axis/L060127/obj/test/generated/cpp/UnitTest_ComplexTypeNillableAll/aRecord.cpp",

line 145.51: CZP1205(0)
he error occurred while converting to parameter 1 of
"aRecord::setfield1(xsd__int **, bool)".

The code that is generated that is in error:

void aRecord::setfield1(xsd__int* * pInValue, bool deep) { ... }


int Axis_DeSerialize_aRecord(aRecord* param, IWrapperSoapDeSerializer*
pIWSDZ)
{
                        xsd__int *      pValue0 = pIWSDZ->getElementAsInt(
"field1", 0);

                        if( pValue0 == NULL)
                        {
                                param->field1 = NULL;
                        }
                        else
                        {
========>                       param->setfield1 (pValue0);
                                Axis::AxisDelete( (void *) pValue0,
XSD_INT);

                        }

Still looking into this but if someone knows anything about this please
let us know.

Nadir K. Amra



Reply via email to