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