You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Vi...@cognizant.com on 2007/03/09 05:55:33 UTC

Getting error while compiling web service dll in VC++7.0 for IIS

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.prope
rties -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.

Re: Getting error while compiling web service dll in VC++7.0 for IIS

Posted by ritu gaud <ur...@yahoo.co.in>.
hi Nandika,
  i am also trying to generate .dll bt i am getting following errors:
   
  math.obj : error LNK2019: unresolved external symbol @__security_check_cookie@4 referenced 
  in function _axis2_math_add
   
  math.obj : error LNK2019: unresolved external symbol @_RTC_CheckStackVars@8 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 <ja...@gmail.com> wrote:
  Hi,
you need to set preprosessor directive AXIS2_DECLARE_EXPORT in your project.

Regards
Nandika

  On 3/9/07, Vijayalakshmi.VenkadaSwamy@cognizant.com <Vi...@cognizant.com> 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.




-- 
nandika@wso2.com
WSO2 INC www.wso2.com 

 				
---------------------------------
 Here’s 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

Posted by Nandika Jayawardana <ja...@gmail.com>.
Hi,
you need to set preprosessor directive AXIS2_DECLARE_EXPORT in your project.

Regards
Nandika

On 3/9/07, Vijayalakshmi.VenkadaSwamy@cognizant.com <
Vijayalakshmi.VenkadaSwamy@cognizant.com> 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.
>



-- 
nandika@wso2.com
WSO2 INC www.wso2.com

Re: Thanks Nadika - Getting linker error while building web service dll in VC++7.0 for IIS

Posted by Nandika Jayawardana <ja...@gmail.com>.
Hi,
Add axis2_util.lib and axis2_engine.lib to the project.

--Nandika



On 3/9/07, Vijayalakshmi.VenkadaSwamy@cognizant.com <
Vijayalakshmi.VenkadaSwamy@cognizant.com> wrote:
>
>  Hi,
>
>
>
>
>
> The below attached (previous mail)error solved after adding the lib of lib
> "axiom.lib"  in the project option.
>
>
>
> But getting error in the files generated by WSDL2C
>
>
>
> myecho error LNK2001: unresolved external symbol _axis2_log_impl_log_error
>
> myecho error LNK2001: unresolved external symbol _axis2_log_impl_log_error
>
> myecho error LNK2019: unresolved external symbol _axis2_array_list_add@12
> referenced in function _axis2_svc_skel_myecho_init@8
>
> myecho error LNK2019: unresolved external symbol
> _axis2_array_list_create@8 referenced in function
> _axis2_svc_skel_myecho_init@8
>
> myecho error LNK2019: unresolved external symbol _axis2_array_list_free@8
> referenced in function _axis2_svc_skel_myecho_free@8
>
> myecho error LNK2019: unresolved external symbol _axis2_log_impl_log_error
> referenced in function _axis2_svc_skel_myecho_invoke@16
>
> myecho error LNK2019: unresolved external symbol
> _axis2_msg_ctx_get_op_ctx@8 referenced in function
> _axis2_svc_skel_myecho_invoke@16
>
> myecho error LNK2019: unresolved external symbol _axis2_op_ctx_get_op@8
> referenced in function _axis2_svc_skel_myecho_invoke@16
>
> myecho error LNK2019: unresolved external symbol _axis2_op_get_qname@8
> referenced in function _axis2_svc_skel_myecho_invoke@16
>
> myecho error LNK2019: unresolved external symbol _axis2_qname_create@16
> referenced in function _axis2_echoString_create@4
>
> myecho error LNK2019: unresolved external symbol _axis2_qname_create@16
> referenced in function _axis2_echoStringResponse_create@4
>
> myecho error LNK2019: unresolved external symbol _axis2_qname_equals@12
> referenced in function _axis2_echoString_deserialize@12
>
> myecho error LNK2019: unresolved external symbol _axis2_qname_equals@12
> referenced in function _axis2_echoStringResponse_deserialize@12
>
> myecho error LNK2019: unresolved external symbol _axis2_qname_free@8
> referenced in function _axis2_echoString_free@8
>
> myecho error LNK2019: unresolved external symbol _axis2_qname_free@8
> referenced in function _axis2_echoStringResponse_free@8
>
> myecho error LNK2019: unresolved external symbol
> _axis2_qname_get_localpart@8 referenced in function
> _axis2_svc_skel_myecho_invoke@16
>
> myecho error LNK2019: unresolved external symbol _axis2_strcmp@8
> referenced in function _axis2_svc_skel_myecho_invoke@16
>
> myecho error LNK2019: unresolved external symbol _axis2_strlen@4
> referenced in function _axis2_echoString_serialize@16
>
> myecho error LNK2019: unresolved external symbol _axis2_strlen@4
> referenced in function _axis2_echoStringResponse_serialize@16
>
> myecho fatal error LNK1120: 13 unresolved externals
>
>
>  ------------------------------
>
> *From:* Venkada Swamy, Vijayalakshmi (Cognizant)
> *Sent:* Friday, March 09, 2007 2:12 PM
> *To:* Venkada Swamy, Vijayalakshmi (Cognizant); '
> axis-c-user-help@ws.apache.org'; 'axis-c-user@ws.apache.org'
> *Cc:* 'axis-c-dev@ws.apache.org'
> *Subject:* 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 _axiom_element_create@20
>
> myecho error LNK2001: unresolved external symbol _axis2_log_impl_log_error
>
> myecho error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(
> dllmain.obj)
>
> myecho error LNK2019: unresolved external symbol
> _axiom_data_source_create@12 referenced in function
> _axis2_echoString_serialize@16
>
> myecho error LNK2019: unresolved external symbol
> _axiom_data_source_create@12 referenced in function
> _axis2_echoStringResponse_serialize@16
>
> myecho error LNK2019: unresolved external symbol
> _axiom_data_source_get_stream@8 referenced in function
> _axis2_echoString_serialize@16
>
> myecho error LNK2019: unresolved external symbol
> _axiom_data_source_get_stream@8 referenced in function
> _axis2_echoStringResponse_serialize@16
>
> myecho error LNK2019: unresolved external symbol _axiom_element_create@20
> referenced in function _axis2_echoString_serialize@16
>
> myecho error LNK2019: unresolved external symbol _axiom_element_create@20
> referenced in function _axis2_echoStringResponse_serialize@16
>
> myecho error LNK2019: unresolved external symbol
> _axiom_element_get_qname@12 referenced in function
> _axis2_echoString_deserialize@12
>
> myecho error LNK2019: unresolved external symbol
> _axiom_element_get_qname@12 referenced in function
> _axis2_echoStringResponse_deserialize@12
>
> myecho error LNK2019: unresolved external symbol
> _axiom_element_get_text@12 referenced in function
> _axis2_echoString_deserialize@12
>
> myecho error LNK2019: unresolved external symbol
> _axiom_element_get_text@12 referenced in function
> _axis2_echoStringResponse_deserialize@12
>
> myecho error LNK2019: unresolved external symbol
> _axiom_element_set_namespace@16 referenced in function
> _axis2_echoString_serialize@16
>
> myecho error LNK2019: unresolved external symbol
> _axiom_element_set_namespace@16 referenced in function
> _axis2_echoStringResponse_serialize@16
>
> myecho error LNK2019: unresolved external symbol
> _axiom_element_set_text@16 referenced in function
> _axis2_svc_skel_myecho_on_fault@12
>
> myecho error LNK2019: unresolved external symbol
> _axiom_namespace_create@12 referenced in function
> _axis2_echoString_deserialize@12
>
> myecho error LNK2019: unresolved external symbol
> _axiom_namespace_create@12 referenced in function
> _axis2_echoStringResponse_deserialize@12
>
> myecho error LNK2019: unresolved external symbol
> _axiom_node_get_data_element@8 referenced in function
> _axis2_echoString_deserialize@12
>
> myecho error LNK2019: unresolved external symbol
> _axiom_node_get_data_element@8 referenced in function
> _axis2_echoStringResponse_deserialize@12
>
> myecho error LNK2019: unresolved external symbol
> _axiom_node_get_first_child@8 referenced in function
> _axis2_echoString_deserialize@12
>
> myecho error LNK2019: unresolved external symbol
> _axiom_node_get_first_child@8 referenced in function
> _axis2_echoStringResponse_deserialize@12
>
> myecho error LNK2019: unresolved external symbol _axis2_array_list_add@12
> referenced in function _axis2_svc_skel_myecho_init@8
>
> myecho error LNK2019: unresolved external symbol
> _axis2_array_list_create@8 referenced in function
> _axis2_svc_skel_myecho_init@8
>
> myecho error LNK2019: unresolved external symbol _axis2_array_list_free@8
> referenced in function _axis2_svc_skel_myecho_free@8
>
> 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 _axis2_echoString_deserialize@12
>
> myecho error LNK2019: unresolved external symbol _axis2_log_impl_log_error
> referenced in function _axis2_echoStringResponse_deserialize@12
>
> myecho error LNK2019: unresolved external symbol
> _axis2_msg_ctx_get_op_ctx@8 referenced in function
> _axis2_svc_skel_myecho_invoke@16
>
> myecho error LNK2019: unresolved external symbol _axis2_op_ctx_get_op@8
> referenced in function _axis2_svc_skel_myecho_invoke@16
>
> myecho error LNK2019: unresolved external symbol _axis2_op_get_qname@8
> referenced in function _axis2_svc_skel_myecho_invoke@16
>
> myecho error LNK2019: unresolved external symbol _axis2_qname_create@16
> referenced in function _axis2_echoString_create@4
>
> myecho error LNK2019: unresolved external symbol _axis2_qname_create@16
> referenced in function _axis2_echoStringResponse_create@4
>
> myecho error LNK2019: unresolved external symbol _axis2_qname_equals@12
> referenced in function _axis2_echoString_deserialize@12
>
> myecho error LNK2019: unresolved external symbol _axis2_qname_equals@12
> referenced in function _axis2_echoStringResponse_deserialize@12
>
> myecho error LNK2019: unresolved external symbol _axis2_qname_free@8
> referenced in function _axis2_echoString_free@8
>
> myecho error LNK2019: unresolved external symbol _axis2_qname_free@8
> referenced in function _axis2_echoStringResponse_free@8
>
> myecho error LNK2019: unresolved external symbol
> _axis2_qname_get_localpart@8 referenced in function
> _axis2_svc_skel_myecho_invoke@16
>
> myecho error LNK2019: unresolved external symbol _axis2_strcmp@8
> referenced in function _axis2_svc_skel_myecho_invoke@16
>
> myecho error LNK2019: unresolved external symbol _axis2_strlen@4
> referenced in function _axis2_echoString_serialize@16
>
> myecho error LNK2019: unresolved external symbol _axis2_strlen@4
> referenced in function _axis2_echoStringResponse_serialize@16
>
> 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): warning C4013:
> 'AXIS2_ECHOSTRUCTRESPONSE_SET_RETURN' undefined; assuming extern returning
> int
>
> d:\Axis2Cdll\myecho\ccodewsdltc1\axis2_skel_myecho.c(33): warning C4047:
> '=' : 'char *' differs in levels of indirection from 'int'
>
> myecho warning LNK4006: _DllMain@12 already defined in MSVCRTD.lib(
> dllmain.obj); second definition ignored
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Hi,
> you need to set preprosessor directive AXIS2_DECLARE_EXPORT in your
> project.
>
> Regards
> Nandika
>
>
>
>
>
> 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.
>



-- 
nandika@wso2.com
WSO2 INC www.wso2.com

Thanks Nadika - Getting linker error while building web service dll in VC++7.0 for IIS

Posted by Vi...@cognizant.com.
Hi,

 

 

The below attached (previous mail)error solved after adding the lib of
lib "axiom.lib"  in the project option.

 

But getting error in the files generated by WSDL2C 

 

myecho error LNK2001: unresolved external symbol
_axis2_log_impl_log_error

myecho error LNK2001: unresolved external symbol
_axis2_log_impl_log_error

myecho error LNK2019: unresolved external symbol
_axis2_array_list_add@12 referenced in function
_axis2_svc_skel_myecho_init@8

myecho error LNK2019: unresolved external symbol
_axis2_array_list_create@8 referenced in function
_axis2_svc_skel_myecho_init@8

myecho error LNK2019: unresolved external symbol
_axis2_array_list_free@8 referenced in function
_axis2_svc_skel_myecho_free@8

myecho error LNK2019: unresolved external symbol
_axis2_log_impl_log_error referenced in function
_axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol
_axis2_msg_ctx_get_op_ctx@8 referenced in function
_axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_op_ctx_get_op@8
referenced in function _axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_op_get_qname@8
referenced in function _axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_qname_create@16
referenced in function _axis2_echoString_create@4

myecho error LNK2019: unresolved external symbol _axis2_qname_create@16
referenced in function _axis2_echoStringResponse_create@4

myecho error LNK2019: unresolved external symbol _axis2_qname_equals@12
referenced in function _axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol _axis2_qname_equals@12
referenced in function _axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol _axis2_qname_free@8
referenced in function _axis2_echoString_free@8

myecho error LNK2019: unresolved external symbol _axis2_qname_free@8
referenced in function _axis2_echoStringResponse_free@8

myecho error LNK2019: unresolved external symbol
_axis2_qname_get_localpart@8 referenced in function
_axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_strcmp@8
referenced in function _axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_strlen@4
referenced in function _axis2_echoString_serialize@16

myecho error LNK2019: unresolved external symbol _axis2_strlen@4
referenced in function _axis2_echoStringResponse_serialize@16

myecho fatal error LNK1120: 13 unresolved externals

 

________________________________

From: Venkada Swamy, Vijayalakshmi (Cognizant) 
Sent: Friday, March 09, 2007 2:12 PM
To: Venkada Swamy, Vijayalakshmi (Cognizant);
'axis-c-user-help@ws.apache.org'; 'axis-c-user@ws.apache.org'
Cc: 'axis-c-dev@ws.apache.org'
Subject: 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
_axiom_element_create@20

myecho error LNK2001: unresolved external symbol
_axis2_log_impl_log_error

myecho error LNK2005: _DllMain@12 already defined in
MSVCRTD.lib(dllmain.obj)

myecho error LNK2019: unresolved external symbol
_axiom_data_source_create@12 referenced in function
_axis2_echoString_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_data_source_create@12 referenced in function
_axis2_echoStringResponse_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_data_source_get_stream@8 referenced in function
_axis2_echoString_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_data_source_get_stream@8 referenced in function
_axis2_echoStringResponse_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_element_create@20 referenced in function
_axis2_echoString_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_element_create@20 referenced in function
_axis2_echoStringResponse_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_element_get_qname@12 referenced in function
_axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_element_get_qname@12 referenced in function
_axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_element_get_text@12 referenced in function
_axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_element_get_text@12 referenced in function
_axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_element_set_namespace@16 referenced in function
_axis2_echoString_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_element_set_namespace@16 referenced in function
_axis2_echoStringResponse_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_element_set_text@16 referenced in function
_axis2_svc_skel_myecho_on_fault@12

myecho error LNK2019: unresolved external symbol
_axiom_namespace_create@12 referenced in function
_axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_namespace_create@12 referenced in function
_axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_node_get_data_element@8 referenced in function
_axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_node_get_data_element@8 referenced in function
_axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_node_get_first_child@8 referenced in function
_axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_node_get_first_child@8 referenced in function
_axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol
_axis2_array_list_add@12 referenced in function
_axis2_svc_skel_myecho_init@8

myecho error LNK2019: unresolved external symbol
_axis2_array_list_create@8 referenced in function
_axis2_svc_skel_myecho_init@8

myecho error LNK2019: unresolved external symbol
_axis2_array_list_free@8 referenced in function
_axis2_svc_skel_myecho_free@8

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
_axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol
_axis2_log_impl_log_error referenced in function
_axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol
_axis2_msg_ctx_get_op_ctx@8 referenced in function
_axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_op_ctx_get_op@8
referenced in function _axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_op_get_qname@8
referenced in function _axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_qname_create@16
referenced in function _axis2_echoString_create@4

myecho error LNK2019: unresolved external symbol _axis2_qname_create@16
referenced in function _axis2_echoStringResponse_create@4

myecho error LNK2019: unresolved external symbol _axis2_qname_equals@12
referenced in function _axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol _axis2_qname_equals@12
referenced in function _axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol _axis2_qname_free@8
referenced in function _axis2_echoString_free@8

myecho error LNK2019: unresolved external symbol _axis2_qname_free@8
referenced in function _axis2_echoStringResponse_free@8

myecho error LNK2019: unresolved external symbol
_axis2_qname_get_localpart@8 referenced in function
_axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_strcmp@8
referenced in function _axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_strlen@4
referenced in function _axis2_echoString_serialize@16

myecho error LNK2019: unresolved external symbol _axis2_strlen@4
referenced in function _axis2_echoStringResponse_serialize@16

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): warning C4013:
'AXIS2_ECHOSTRUCTRESPONSE_SET_RETURN' undefined; assuming extern
returning int

d:\Axis2Cdll\myecho\ccodewsdltc1\axis2_skel_myecho.c(33): warning C4047:
'=' : 'char *' differs in levels of indirection from 'int'

myecho warning LNK4006: _DllMain@12 already defined in
MSVCRTD.lib(dllmain.obj); second definition ignored

 

 

 

 

 

 

 

 

 

 

 

Hi,
you need to set preprosessor directive AXIS2_DECLARE_EXPORT in your
project.

Regards
Nandika 

 

 

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.prope
rties -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.

RE: Getting error while compiling web service dll in VC++7.0 for IIS

Posted by Vi...@cognizant.com.
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
_axiom_element_create@20

myecho error LNK2001: unresolved external symbol
_axis2_log_impl_log_error

myecho error LNK2005: _DllMain@12 already defined in
MSVCRTD.lib(dllmain.obj)

myecho error LNK2019: unresolved external symbol
_axiom_data_source_create@12 referenced in function
_axis2_echoString_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_data_source_create@12 referenced in function
_axis2_echoStringResponse_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_data_source_get_stream@8 referenced in function
_axis2_echoString_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_data_source_get_stream@8 referenced in function
_axis2_echoStringResponse_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_element_create@20 referenced in function
_axis2_echoString_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_element_create@20 referenced in function
_axis2_echoStringResponse_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_element_get_qname@12 referenced in function
_axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_element_get_qname@12 referenced in function
_axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_element_get_text@12 referenced in function
_axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_element_get_text@12 referenced in function
_axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_element_set_namespace@16 referenced in function
_axis2_echoString_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_element_set_namespace@16 referenced in function
_axis2_echoStringResponse_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_element_set_text@16 referenced in function
_axis2_svc_skel_myecho_on_fault@12

myecho error LNK2019: unresolved external symbol
_axiom_namespace_create@12 referenced in function
_axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_namespace_create@12 referenced in function
_axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_node_get_data_element@8 referenced in function
_axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_node_get_data_element@8 referenced in function
_axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_node_get_first_child@8 referenced in function
_axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_node_get_first_child@8 referenced in function
_axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol
_axis2_array_list_add@12 referenced in function
_axis2_svc_skel_myecho_init@8

myecho error LNK2019: unresolved external symbol
_axis2_array_list_create@8 referenced in function
_axis2_svc_skel_myecho_init@8

myecho error LNK2019: unresolved external symbol
_axis2_array_list_free@8 referenced in function
_axis2_svc_skel_myecho_free@8

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
_axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol
_axis2_log_impl_log_error referenced in function
_axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol
_axis2_msg_ctx_get_op_ctx@8 referenced in function
_axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_op_ctx_get_op@8
referenced in function _axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_op_get_qname@8
referenced in function _axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_qname_create@16
referenced in function _axis2_echoString_create@4

myecho error LNK2019: unresolved external symbol _axis2_qname_create@16
referenced in function _axis2_echoStringResponse_create@4

myecho error LNK2019: unresolved external symbol _axis2_qname_equals@12
referenced in function _axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol _axis2_qname_equals@12
referenced in function _axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol _axis2_qname_free@8
referenced in function _axis2_echoString_free@8

myecho error LNK2019: unresolved external symbol _axis2_qname_free@8
referenced in function _axis2_echoStringResponse_free@8

myecho error LNK2019: unresolved external symbol
_axis2_qname_get_localpart@8 referenced in function
_axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_strcmp@8
referenced in function _axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_strlen@4
referenced in function _axis2_echoString_serialize@16

myecho error LNK2019: unresolved external symbol _axis2_strlen@4
referenced in function _axis2_echoStringResponse_serialize@16

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): warning C4013:
'AXIS2_ECHOSTRUCTRESPONSE_SET_RETURN' undefined; assuming extern
returning int

d:\Axis2Cdll\myecho\ccodewsdltc1\axis2_skel_myecho.c(33): warning C4047:
'=' : 'char *' differs in levels of indirection from 'int'

myecho warning LNK4006: _DllMain@12 already defined in
MSVCRTD.lib(dllmain.obj); second definition ignored

 

 

 

 

 

 

 

 

 

 

 

Hi,
you need to set preprosessor directive AXIS2_DECLARE_EXPORT in your
project.

Regards
Nandika 

 

 

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.prope
rties -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.

RE: Getting error while compiling web service dll in VC++7.0 for IIS

Posted by Vi...@cognizant.com.
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
_axiom_element_create@20

myecho error LNK2001: unresolved external symbol
_axis2_log_impl_log_error

myecho error LNK2005: _DllMain@12 already defined in
MSVCRTD.lib(dllmain.obj)

myecho error LNK2019: unresolved external symbol
_axiom_data_source_create@12 referenced in function
_axis2_echoString_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_data_source_create@12 referenced in function
_axis2_echoStringResponse_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_data_source_get_stream@8 referenced in function
_axis2_echoString_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_data_source_get_stream@8 referenced in function
_axis2_echoStringResponse_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_element_create@20 referenced in function
_axis2_echoString_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_element_create@20 referenced in function
_axis2_echoStringResponse_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_element_get_qname@12 referenced in function
_axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_element_get_qname@12 referenced in function
_axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_element_get_text@12 referenced in function
_axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_element_get_text@12 referenced in function
_axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_element_set_namespace@16 referenced in function
_axis2_echoString_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_element_set_namespace@16 referenced in function
_axis2_echoStringResponse_serialize@16

myecho error LNK2019: unresolved external symbol
_axiom_element_set_text@16 referenced in function
_axis2_svc_skel_myecho_on_fault@12

myecho error LNK2019: unresolved external symbol
_axiom_namespace_create@12 referenced in function
_axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_namespace_create@12 referenced in function
_axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_node_get_data_element@8 referenced in function
_axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_node_get_data_element@8 referenced in function
_axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_node_get_first_child@8 referenced in function
_axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol
_axiom_node_get_first_child@8 referenced in function
_axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol
_axis2_array_list_add@12 referenced in function
_axis2_svc_skel_myecho_init@8

myecho error LNK2019: unresolved external symbol
_axis2_array_list_create@8 referenced in function
_axis2_svc_skel_myecho_init@8

myecho error LNK2019: unresolved external symbol
_axis2_array_list_free@8 referenced in function
_axis2_svc_skel_myecho_free@8

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
_axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol
_axis2_log_impl_log_error referenced in function
_axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol
_axis2_msg_ctx_get_op_ctx@8 referenced in function
_axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_op_ctx_get_op@8
referenced in function _axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_op_get_qname@8
referenced in function _axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_qname_create@16
referenced in function _axis2_echoString_create@4

myecho error LNK2019: unresolved external symbol _axis2_qname_create@16
referenced in function _axis2_echoStringResponse_create@4

myecho error LNK2019: unresolved external symbol _axis2_qname_equals@12
referenced in function _axis2_echoString_deserialize@12

myecho error LNK2019: unresolved external symbol _axis2_qname_equals@12
referenced in function _axis2_echoStringResponse_deserialize@12

myecho error LNK2019: unresolved external symbol _axis2_qname_free@8
referenced in function _axis2_echoString_free@8

myecho error LNK2019: unresolved external symbol _axis2_qname_free@8
referenced in function _axis2_echoStringResponse_free@8

myecho error LNK2019: unresolved external symbol
_axis2_qname_get_localpart@8 referenced in function
_axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_strcmp@8
referenced in function _axis2_svc_skel_myecho_invoke@16

myecho error LNK2019: unresolved external symbol _axis2_strlen@4
referenced in function _axis2_echoString_serialize@16

myecho error LNK2019: unresolved external symbol _axis2_strlen@4
referenced in function _axis2_echoStringResponse_serialize@16

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): warning C4013:
'AXIS2_ECHOSTRUCTRESPONSE_SET_RETURN' undefined; assuming extern
returning int

d:\Axis2Cdll\myecho\ccodewsdltc1\axis2_skel_myecho.c(33): warning C4047:
'=' : 'char *' differs in levels of indirection from 'int'

myecho warning LNK4006: _DllMain@12 already defined in
MSVCRTD.lib(dllmain.obj); second definition ignored

 

 

 

 

 

 

 

 

 

 

 

Hi,
you need to set preprosessor directive AXIS2_DECLARE_EXPORT in your
project.

Regards
Nandika 

 

 

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.prope
rties -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.