RE: Getting error while compiling web service dll in VC++7.0 for IIS
Hi, Thanks Nandika, after adding the directive AXIS2_DECLARE_EXPORT that error is not coming but the following new error is coming. Can you tell me what could be the problem. myecho error LNK2001: unresolved external symbol [EMAIL PROTECTED] myecho error LNK2001: unresolved external symbol _axis2_log_impl_log_error myecho error LNK2005: [EMAIL PROTECTED] already defined in MSVCRTD.lib(dllmain.obj) myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol _AXIS2_ECHOSTRING_GET_PARAM0 referenced in function _axis2_skel_myecho_echoString myecho error LNK2019: unresolved external symbol _AXIS2_ECHOSTRUCTRESPONSE_SET_RETURN referenced in function _axis2_skel_myecho_echoString myecho error LNK2019: unresolved external symbol _axis2_log_impl_log_error referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol _axis2_log_impl_log_error referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] myecho fatal error LNK1120: 25 unresolved externals d:\Axis2Cdll\myecho\ccodewsdltc1\axis2_skel_myecho.c(33): warning C4013: 'AXIS2_ECHOSTRING_GET_PARAM0' undefined; assuming extern returning int d:\Axis2Cdll\myecho\ccodewsdltc1\axis2_skel_myecho.c(37): warnin
Re: Getting error while compiling web service dll in VC++7.0 for IIS
hi Nandika, i am also trying to generate .dll bt i am getting following errors: math.obj : error LNK2019: unresolved external symbol @[EMAIL PROTECTED] referenced in function _axis2_math_add math.obj : error LNK2019: unresolved external symbol @[EMAIL PROTECTED] referenced in function _axis2_math_add math.obj : error LNK2019: unresolved external symbol __RTC_CheckEsp referenced in function _axis2_math_add math.obj : error LNK2001: unresolved external symbol __RTC_Shutdown math.obj : error LNK2001: unresolved external symbol __RTC_InitBase any idea abt these errors? Urvashi Nandika Jayawardana <[EMAIL PROTECTED]> wrote: Hi, you need to set preprosessor directive AXIS2_DECLARE_EXPORT in your project. Regards Nandika On 3/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:Hi, Trying to create a simple web service with Axis2c and trying to deploy in IIS, steps followed and getting the error attached. Can any one suggest how to get rid of the errors? Created a new solution in VC++7.0 2.Created New Project for LL 3 Generated skeleton files with the option With classpath + "jar org.apache.axis2.wsdl.WSDL2C -D org.apache.adb.properties=org/apache/axis2/schema/c-schema-compile.properties -uri myecho.wsdl -o genfiles -a -l c -d adb -ss -sd u " 4. It generated the following files: axis2_skel_myecho.c axis2_skel_myecho.h axis2_svc_skel_myecho.c and service.xml and in src folder the following files were generated: axis2_echoString.c axis2_echoString.h axis2_echoStringResponse.c axis2_echoStringResponse.h 5. Done my code in axis2_skel_myecho.c file. 6. Added the Include Path and library path with Axis2C Include and Lib Compiled the above setup: Getting the following error "\src\axis2_echoString.c(29): error C2491: 'axis2_echoString_create' : definition of dllimport function not allowed \src\axis2_echoStringResponse.c (30): error C2491: 'axis2_echoStringResponse_create' : definition of dllimport function not allowed \axis2_svc_skel_myecho.c (197): error C2491: 'axis2_get_instance': definition of dllimport function not allowed \axis2_svc_skel_myecho.c (211): error C2491: 'axis2_remove_instance' : definition of dllimport function not allowed" -Viji This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. -- [EMAIL PROTECTED] WSO2 INC www.wso2.com - Heres a new way to find what you're looking for - Yahoo! Answers
Re: Getting error while compiling web service dll in VC++7.0 for IIS
Hi, you need to set preprosessor directive AXIS2_DECLARE_EXPORT in your project. Regards Nandika On 3/9/07, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: Hi, Trying to create a simple web service with Axis2c and trying to deploy in IIS, steps followed and getting the error attached. Can any one suggest how to get rid of the errors? 1. Created a new solution in VC++7.0 2.Created New Project for LL 3 Generated skeleton files with the option With classpath + "jar org.apache.axis2.wsdl.WSDL2C -D org.apache.adb.properties=org/apache/axis2/schema/c-schema-compile.properties-uri myecho.wsdl -o genfiles -a -l c -d adb -ss -sd –u " 4. It generated the following files: axis2_skel_myecho.c axis2_skel_myecho.h axis2_svc_skel_myecho.c and service.xml and in src folder the following files were generated: axis2_echoString.c axis2_echoString.h axis2_echoStringResponse.c axis2_echoStringResponse.h 5. Done my code in axis2_skel_myecho.c file. 6. Added the Include Path and library path with Axis2C Include and Lib Compiled the above setup: Getting the following error "\src\axis2_echoString.c(29): error C2491: 'axis2_echoString_create' : definition of dllimport function not allowed \src\axis2_echoStringResponse.c (30): error C2491: 'axis2_echoStringResponse_create' : definition of dllimport function not allowed \axis2_svc_skel_myecho.c (197): error C2491: 'axis2_get_instance': definition of dllimport function not allowed \axis2_svc_skel_myecho.c (211): error C2491: 'axis2_remove_instance' : definition of dllimport function not allowed" -Viji This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. -- [EMAIL PROTECTED] WSO2 INC www.wso2.com