I've just downloaded the Axis2 version 1.3 and I cannot see any class or module that can generate C code from a wsdl file, even though the axis2c documentation specifies that there is such a tool written in Java and even points me to the Web location where I can find the the Java binaries...
Can someone tell me where is the wsdl2c class/exe that generates a web service in C from a wsdl file? Also, the mod_axis2.dll I downloaded with axis2c (or the one I am building myself) is crushing Apache. Does anybody else see this problem? Thank you, Corneliu sreenivasulu guduru wrote: > > Hi > I am using the attached WSDL to generate Server Stubs using the command > wsdl.bat -uri so1.wsdl -ss -sd -d adb –u > I used the latest Apache Axis2 SNAPSHOT build (23-01-2008). > > The process generates 111 C and Header files. > I have them added to my VC++ project that has includes of > axis2c-bin-1.2.0-win32 version. And I have the Preprocessor directive > AXIS2_DECLARE_EXPORT being set for the VC++ project. > > There were many compiler errors such as "fatal error C1083: Cannot open > include file: 'adb_axis2_char_t*.h': Invalid argument:". The complete > report of compilation errors is attached in the mail in the file > “BuildLog.htm”. > > Could you please suggest me workaround for these compilation errors? > > Thank You > Regards > Sreenivasulu Guduru > _________________________________________________________________ > Connect and share in new ways with Windows Live. > http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 > > > > > > > > > Build Log > > ------- Build started: Project: ForteWebServices, Configuration: > Debug|Win32 ------- > > > Command Lines > Creating temporary file "c:\Documents and > Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\Debug\RSP000015.rsp" with contents > [ > /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_USRDLL" /D > "AXIS2_DECLARE_EXPORT" /D "_WINDLL" /D "_MBCS" /Gm /EHsc /RTC1 /MTd > /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /c /Wp64 /ZI /TC /I > C:\Axis\axis2C\axis2c-bin-1.2.0-win32\include > ".\axis2_svc_skel_DataExtractServiceService.c" > ".\axis2_skel_DataExtractServiceService.c" > ".\adb_unsignedShort.c" > ".\adb_unsignedShort0.c" > ".\adb_unsignedLong.c" > ".\adb_unsignedInt.c" > ".\adb_unsignedByte.c" > ".\adb_unsignedByte2.c" > ".\adb_token.c" > ".\adb_time.c" > ".\adb_Struct.c" > ".\adb_string.c" > ".\adb_QName.c" > ".\adb_positiveInteger.c" > ".\adb_positiveInteger3.c" > ".\adb_NOTATION.c" > ".\adb_normalizedString.c" > ".\adb_nonPositiveInteger.c" > ".\adb_nonNegativeInteger.c" > ".\adb_NMTOKENS.c" > ".\adb_NMTOKENS1.c" > ".\adb_NMTOKEN.c" > ".\adb_negativeInteger.c" > ".\adb_NCName.c" > ".\adb_Name.c" > ".\adb_long.c" > ".\adb_language.c" > ".\adb_integer.c" > ".\adb_int.c" > ".\adb_IDREFS.c" > ".\adb_IDREF.c" > ".\adb_ID.c" > ".\adb_hexBinary.c" > ".\adb_gYearMonth.c" > ".\adb_gYear.c" > ".\adb_gMonthDay.c" > ".\adb_gMonth.c" > ".\adb_GetViewListResponse.c" > ".\adb_GetViewList.c" > ".\adb_gDay.c" > ".\adb_ENTITY.c" > ".\adb_ENTITIES.c" > ".\adb_duration.c" > ".\adb_decimal.c" > ".\adb_dateTime.c" > ".\adb_date.c" > ".\adb_byte.c" > ".\adb_boolean.c" > ".\adb_base64Binary.c" > ".\adb_ArrayOfString.c" > ".\adb_Array.c" > ".\adb_anyURI.c" > ".\adb_anyType.c" > ".\adb__short.c" > ".\adb__float.c" > ".\adb__double.c" > ] > Creating command line "cl.exe @"c:\Documents and Settings\sguduru\My > Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\Debug\RSP000015.rsp" /nologo" > > Output Window > Compiling... > axis2_svc_skel_DataExtractServiceService.c > axis2_skel_DataExtractServiceService.c > adb_unsignedShort.c > adb_unsignedShort0.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_unsignedShort0.c(289) : warning > C4101: 'text_value_1' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_unsignedShort0.c(287) : warning > C4101: 'ns_already_defined' : unreferenced local variable > adb_unsignedLong.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_unsignedLong.h(19) : fatal error > C1083: Cannot open include file: 'adb_unsigned long.h': No such file or > directory > adb_unsignedInt.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_unsignedInt.h(19) : fatal error > C1083: Cannot open include file: 'adb_unsigned int.h': No such file or > directory > adb_unsignedByte.c > adb_unsignedByte2.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_unsignedByte2.c(289) : warning > C4101: 'text_value_1' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_unsignedByte2.c(287) : warning > C4101: 'ns_already_defined' : unreferenced local variable > adb_token.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_token.h(19) : fatal error C1083: > Cannot open include file: 'adb_axis2_char_t*.h': Invalid argument > adb_time.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_time.h(19) : fatal error C1083: > Cannot open include file: 'adb_axutil_date_time_t*.h': Invalid argument > adb_Struct.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_Struct.h(19) : fatal error C1083: > Cannot open include file: 'adb_axiom_node_t*.h': Invalid argument > adb_string.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_string.h(19) : fatal error C1083: > Cannot open include file: 'adb_axis2_char_t*.h': Invalid argument > adb_QName.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_QName.h(19) : fatal error C1083: > Cannot open include file: 'adb_axutil_qname_t*.h': Invalid argument > adb_positiveInteger.c > adb_positiveInteger3.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_positiveInteger3.c(289) : warning > C4101: 'text_value_1' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_positiveInteger3.c(287) : warning > C4101: 'ns_already_defined' : unreferenced local variable > adb_NOTATION.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_NOTATION.h(19) : fatal error > C1083: Cannot open include file: 'adb_axiom_node_t*.h': Invalid argument > adb_normalizedString.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_normalizedString.h(19) : fatal > error C1083: Cannot open include file: 'adb_axis2_char_t*.h': Invalid > argument > adb_nonPositiveInteger.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_nonPositiveInteger.c(289) : > warning C4101: 'text_value_1' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_nonPositiveInteger.c(287) : > warning C4101: 'ns_already_defined' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_nonPositiveInteger.c(455) : > warning C4090: '=' : different 'const' qualifiers > adb_nonNegativeInteger.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_nonNegativeInteger.h(19) : fatal > error C1083: Cannot open include file: 'adb_unsigned int.h': No such file > or directory > adb_NMTOKENS.c > Generating Code... > Compiling... > adb_NMTOKENS1.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_NMTOKENS1.c(289) : warning C4101: > 'text_value_1' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_NMTOKENS1.c(287) : warning C4101: > 'ns_already_defined' : unreferenced local variable > adb_NMTOKEN.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_NMTOKEN.h(19) : fatal error > C1083: Cannot open include file: 'adb_axis2_char_t*.h': Invalid argument > adb_negativeInteger.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_negativeInteger.c(289) : warning > C4101: 'text_value_1' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_negativeInteger.c(287) : warning > C4101: 'ns_already_defined' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_negativeInteger.c(455) : warning > C4090: '=' : different 'const' qualifiers > adb_NCName.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_NCName.h(19) : fatal error C1083: > Cannot open include file: 'adb_axis2_char_t*.h': Invalid argument > adb_Name.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_Name.h(19) : fatal error C1083: > Cannot open include file: 'adb_axis2_char_t*.h': Invalid argument > adb_long.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_long.c(289) : warning C4101: > 'text_value_1' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_long.c(287) : warning C4101: > 'ns_already_defined' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_long.c(455) : warning C4090: '=' > : different 'const' qualifiers > adb_language.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_language.h(19) : fatal error > C1083: Cannot open include file: 'adb_axis2_char_t*.h': Invalid argument > adb_integer.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_integer.c(289) : warning C4101: > 'text_value_1' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_integer.c(287) : warning C4101: > 'ns_already_defined' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_integer.c(455) : warning C4090: > '=' : different 'const' qualifiers > adb_int.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_int.c(289) : warning C4101: > 'text_value_1' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_int.c(287) : warning C4101: > 'ns_already_defined' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_int.c(455) : warning C4090: '=' : > different 'const' qualifiers > adb_IDREFS.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_IDREFS.h(19) : fatal error C1083: > Cannot open include file: 'adb_axis2_char_t*.h': Invalid argument > adb_IDREF.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_IDREF.h(19) : fatal error C1083: > Cannot open include file: 'adb_axis2_char_t*.h': Invalid argument > adb_ID.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_ID.h(19) : fatal error C1083: > Cannot open include file: 'adb_axis2_char_t*.h': Invalid argument > adb_hexBinary.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_hexBinary.h(19) : fatal error > C1083: Cannot open include file: 'adb_axiom_node_t*.h': Invalid argument > adb_gYearMonth.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_gYearMonth.h(19) : fatal error > C1083: Cannot open include file: 'adb_axutil_date_time_t*.h': Invalid > argument > adb_gYear.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_gYear.c(289) : warning C4101: > 'text_value_1' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_gYear.c(287) : warning C4101: > 'ns_already_defined' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_gYear.c(455) : warning C4090: '=' > : different 'const' qualifiers > adb_gMonthDay.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_gMonthDay.h(19) : fatal error > C1083: Cannot open include file: 'adb_axutil_date_time_t*.h': Invalid > argument > adb_gMonth.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_gMonth.c(289) : warning C4101: > 'text_value_1' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_gMonth.c(287) : warning C4101: > 'ns_already_defined' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_gMonth.c(455) : warning C4090: > '=' : different 'const' qualifiers > adb_GetViewListResponse.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_GetViewListResponse.c(289) : > warning C4101: 'text_value_1' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_GetViewListResponse.c(287) : > warning C4101: 'ns_already_defined' : unreferenced local variable > adb_GetViewList.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_GetViewList.c(641) : warning > C4101: 'ns_already_defined' : unreferenced local variable > adb_gDay.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_gDay.c(289) : warning C4101: > 'text_value_1' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_gDay.c(287) : warning C4101: > 'ns_already_defined' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_gDay.c(455) : warning C4090: '=' > : different 'const' qualifiers > Generating Code... > Compiling... > adb_ENTITY.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_ENTITY.h(19) : fatal error C1083: > Cannot open include file: 'adb_axis2_char_t*.h': Invalid argument > adb_ENTITIES.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_ENTITIES.h(19) : fatal error > C1083: Cannot open include file: 'adb_axis2_char_t*.h': Invalid argument > adb_duration.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_duration.h(19) : fatal error > C1083: Cannot open include file: 'adb_axutil_duration_t*.h': Invalid > argument > adb_decimal.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_decimal.h(19) : fatal error > C1083: Cannot open include file: 'adb_double.h': No such file or directory > adb_dateTime.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_dateTime.h(19) : fatal error > C1083: Cannot open include file: 'adb_axutil_date_time_t*.h': Invalid > argument > adb_date.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_date.h(19) : fatal error C1083: > Cannot open include file: 'adb_axutil_date_time_t*.h': Invalid argument > adb_byte.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_byte.h(19) : fatal error C1083: > Cannot open include file: 'adb_axis2_byte_t.h': No such file or directory > adb_boolean.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_boolean.h(19) : fatal error > C1083: Cannot open include file: 'adb_axis2_bool_t.h': No such file or > directory > adb_base64Binary.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_base64Binary.h(19) : fatal error > C1083: Cannot open include file: 'adb_axutil_base64_binary_t*.h': Invalid > argument > adb_ArrayOfString.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_ArrayOfString.c(362) : warning > C4101: 'text_value_2' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_ArrayOfString.c(353) : warning > C4101: 'ns_already_defined' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_ArrayOfString.c(363) : warning > C4101: 'text_value_2_temp' : unreferenced local variable > adb_Array.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_Array.h(19) : fatal error C1083: > Cannot open include file: 'adb_axutil_array_list_t*.h': Invalid argument > adb_anyURI.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_anyURI.h(19) : fatal error C1083: > Cannot open include file: 'adb_axutil_uri_t*.h': Invalid argument > adb_anyType.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_anyType.c(271) : warning C4101: > 'text_value_1_temp' : unreferenced local variable > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb_anyType.c(268) : warning C4101: > 'ns_already_defined' : unreferenced local variable > adb__short.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb__short.h(19) : fatal error C1083: > Cannot open include file: 'adb_short.h': No such file or directory > adb__float.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb__float.h(19) : fatal error C1083: > Cannot open include file: 'adb_float.h': No such file or directory > adb__double.c > c:\Documents and Settings\sguduru\My Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\adb__double.h(19) : fatal error > C1083: Cannot open include file: 'adb_double.h': No such file or directory > Generating Code... > > Results > > Build log was saved at "file://c:\Documents and Settings\sguduru\My > Documents\Visual Studio > Projects\Axis2Test1\ForteWebServices\Debug\BuildLog.htm" > ForteWebServices - 34 error(s), 40 warning(s) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- View this message in context: http://www.nabble.com/WSDL2C-Generates-Files-with-Compilation-Errors-tp15056566p15956073.html Sent from the Axis - C++ - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]