Hi all,
The following error messages have been encountered when implementing Calculator sample in codegen_utest_blocking.log under logs directory: \adb_addresponse.c(197) Failed in building adb object for addResponse : Expected addResponse|http://ws.apache.org/axis2/services/Calculator/types but returned Fault|http://schemas.xmlsoap.org/soap/envelope/|soapenv \axis2_stub_calculator.c(271) NULL returnted from the adb_addResponse_deserialize: This should be due to an invalid XML I've used WSDL2C tool in order to generate stub and skeleton files for Calculator sample shipped with Axis2/C binary distribution. Calculator.wsdl has been used under the directory ..\services\Calculator. The following commands are executed to generate server- and client-side codes respectively: . WSDL2C.bat -uri Calculator.wsdl -ss -sd -d adb -u . WSDL2C.bat -uri Calculator.wsdl -u -d adb For skeleton files, implemented on MS Windows: to compile, cl.exe /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "AXIS2_DECLARE_EXPORT" /D "AXIS2_SVR_MULTI_THREADED" /w /nologo /I %AXIS2C_HOME%\include /c *.c to link, link.exe /nologo /LIBPATH:%AXIS2C_HOME%\lib axutil.lib axiom.lib axis2_parser.lib axis2_engine.lib /DLL /OUT:calculator.dll *.obj For stub files, implemented on MS Windows: to compile, cl.exe /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /I %AXIS2C_HOME%\include /c *.c to link, link.exe /LIBPATH:%AXIS2C_HOME%\lib axutil.lib axiom.lib axis2_parser.lib axis2_engine.lib /OUT:calculator.exe *.obj Note: test_calculator.c has been used as the client-side main source file under ..\samples\src\codegen\client\calculator What does this error message mean? Can it be WSDL2C tool's bug? Thanks in advance for your helps and clarifications.. Best regards, YY
