axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nandika Jayawardana <jayaw...@gmail.com>
Subject Re: WSDL2C Code Generation Problem
Date Fri, 16 Jul 2010 09:21:17 GMT
This is due to a small issue in the test_calculator.c file. It uses the
endpoint address http://localhost:9090/axis2/services/calculator which
should be changed to http://localhost:9090/axis2/services/Calculator. I will
fix this issue in the svn.

Regards
Nandika

On Fri, Jul 16, 2010 at 2:03 PM, Yasemin YILMAZ <yasemin.yilmaz@arise.com.tr
> wrote:

>  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/typesbut returned
Fault|
> http://schemas.xmlsoap.org/soap/envelope/|soapenv<http://schemas.xmlsoap.org/soap/envelope/%7Csoapenv>
> *
>
> *\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
>
>
>
> * *
>



-- 
http://nandikajayawardana.blogspot.com/
WSO2 Inc: http://www.wso2.com

Mime
View raw message