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 Yogender Singh01 <Yo...@infosys.com> on 2007/05/02 09:57:39 UTC
RE: [Axis2C] problem in linking and building
Added axiom.lib axis2_engine.lib axis2_parser.lib axis2_util.lib
axis2_wsdl.lib xml_schema.lib in the VC++ input library modules.
________________________________
From: Yogender Singh01 [mailto:Yogender_Singh01@infosys.com]
Sent: Wednesday, May 02, 2007 12:25 PM
To: Apache AXIS C User List
Subject: [Axis2C] problem in linking and building
Hi all,
I have compiled the code in VC++ 6.0.
After that I am getting linking error.
I am not able to get the error.
Please tell me how to remove this error.
Linking...
Creating library Debug/calc.lib and object Debug/calc.exp
axis2_mul.obj : error LNK2001: unresolved external symbol
_axis2_qname_create@16
axis2_mulResponse.obj : error LNK2001: unresolved external symbol
_axis2_qname_create@16
axis2_sub.obj : error LNK2001: unresolved external symbol
_axis2_qname_create@16
axis2_subResponse.obj : error LNK2001: unresolved external symbol
_axis2_qname_create@16
axis2_add.obj : error LNK2001: unresolved external symbol
_axis2_qname_create@16
axis2_addResponse.obj : error LNK2001: unresolved external symbol
_axis2_qname_create@16
axis2_div.obj : error LNK2001: unresolved external symbol
_axis2_qname_create@16
axis2_divResponse.obj : error LNK2001: unresolved external symbol
_axis2_qname_create@16
axis2_svc_skel_Calculator.obj : error LNK2001: unresolved external
symbol _axis2_log_impl_log_error
axis2_mul.obj : error LNK2001: unresolved external symbol
_axis2_log_impl_log_error
axis2_mulResponse.obj : error LNK2001: unresolved external symbol
_axis2_log_impl_log_error
axis2_sub.obj : error LNK2001: unresolved external symbol
_axis2_log_impl_log_error
axis2_subResponse.obj : error LNK2001: unresolved external symbol
_axis2_log_impl_log_error
axis2_add.obj : error LNK2001: unresolved external symbol
_axis2_log_impl_log_error
axis2_addResponse.obj : error LNK2001: unresolved external symbol
_axis2_log_impl_log_error
axis2_div.obj : error LNK2001: unresolved external symbol
_axis2_log_impl_log_error
axis2_divResponse.obj : error LNK2001: unresolved external symbol
_axis2_log_impl_log_error
axis2_mul.obj : error LNK2001: unresolved external symbol
_axiom_namespace_create@12
axis2_mulResponse.obj : error LNK2001: unresolved external symbol
_axiom_namespace_create@12
axis2_sub.obj : error LNK2001: unresolved external symbol
_axiom_namespace_create@12
axis2_subResponse.obj : error LNK2001: unresolved external symbol
_axiom_namespace_create@12
axis2_add.obj : error LNK2001: unresolved external symbol
_axiom_namespace_create@12
axis2_addResponse.obj : error LNK2001: unresolved external symbol
_axiom_namespace_create@12
axis2_div.obj : error LNK2001: unresolved external symbol
_axiom_namespace_create@12
axis2_divResponse.obj : error LNK2001: unresolved external symbol
_axiom_namespace_create@12
axis2_svc_skel_Calculator.obj : error LNK2001: unresolved external
symbol _axiom_element_create@20
axis2_mul.obj : error LNK2001: unresolved external symbol
_axiom_element_create@20
axis2_mulResponse.obj : error LNK2001: unresolved external symbol
_axiom_element_create@20
axis2_sub.obj : error LNK2001: unresolved external symbol
_axiom_element_create@20
axis2_subResponse.obj : error LNK2001: unresolved external symbol
_axiom_element_create@20
axis2_add.obj : error LNK2001: unresolved external symbol
_axiom_element_create@20
axis2_addResponse.obj : error LNK2001: unresolved external symbol
_axiom_element_create@20
axis2_div.obj : error LNK2001: unresolved external symbol
_axiom_element_create@20
axis2_divResponse.obj : error LNK2001: unresolved external symbol
_axiom_element_create@20
axis2_svc_skel_Calculator.obj : error LNK2001: unresolved external
symbol _axis2_array_list_create@8
axis2_svc_skel_Calculator.obj : error LNK2001: unresolved external
symbol _axis2_strcmp@8
Debug/calc.dll : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.
Regards,
Yogender
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
solely for the use of the addressee(s). If you are not the intended
recipient, please notify the sender by e-mail and delete the original
message. Further, you are not to copy, disclose, or distribute this
e-mail or its contents to any other person and any such actions are
unlawful. This e-mail may contain viruses. Infosys has taken every
reasonable precaution to minimize this risk, but is not liable for any
damage you may sustain as a result of any virus in this e-mail. You
should carry out your own virus checks before opening the e-mail or
attachment. Infosys reserves the right to monitor and review the content
of all messages sent to or from this e-mail address. Messages sent to or
from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Re: [Axis2C] problem in running the client
Posted by Samisa Abeysinghe <sa...@wso2.com>.
Sushmita Sahu wrote:
>
> Hi,
>
> I have successfully complied and build the source code for the client
> calculator. When I try to run it I am getting this :
>
> *Sending OM : <ns1:add
> xmlns:ns1="http://localhost/axis/calculator"><in1>13</i*
>
> *n1><in2>7</in2></ns1:add>*
>
> and it exists.
>
>
>
> When I checked the w2c_test.log file it said : *[Mon May 07 16:10:27
> 2007] [error]
> c:\axis2c\axis2c-bin-0.96-win32\bin\calclient\axis2_addresponse.c(250)
> failed in setting the value for addReturn 2 :: NULL paramater was
> passed when a non NULL parameter was expected.*
>
>
>
> On checking axis2_addresponse.c, I found it is failing some where in
>
> *text_value = AXIOM_ELEMENT_GET_TEXT(current_element, env,
> current_node );*
>
> as there was no value coming for text_value.
>
Most probably, the response is not in the format expected. You may also
have a look into the server log to see what has gone wrong on server side.
Also, is possible, please switch to version 1.0.0.
Thanks,
Samisa...
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
RE: [Axis2C] problem in running the client
Posted by Sushmita Sahu <Su...@infosys.com>.
Hi,
I have successfully complied and build the source code for the client
calculator. When I try to run it I am getting this :
Sending OM : <ns1:add
xmlns:ns1="http://localhost/axis/calculator"><in1>13</i
n1><in2>7</in2></ns1:add>
and it exists.
When I checked the w2c_test.log file it said : [Mon May 07 16:10:27
2007] [error]
c:\axis2c\axis2c-bin-0.96-win32\bin\calclient\axis2_addresponse.c(250)
failed in setting the value for addReturn 2 :: NULL paramater was
passed when a non NULL parameter was expected.
On checking axis2_addresponse.c, I found it is failing some where in
text_value = AXIOM_ELEMENT_GET_TEXT(current_element, env, current_node
);
as there was no value coming for text_value.
Kindly help.
Thanks and regards
Sushmita
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
solely for the use of the addressee(s). If you are not the intended
recipient, please notify the sender by e-mail and delete the original
message. Further, you are not to copy, disclose, or distribute this
e-mail or its contents to any other person and any such actions are
unlawful. This e-mail may contain viruses. Infosys has taken every
reasonable precaution to minimize this risk, but is not liable for any
damage you may sustain as a result of any virus in this e-mail. You
should carry out your own virus checks before opening the e-mail or
attachment. Infosys reserves the right to monitor and review the content
of all messages sent to or from this e-mail address. Messages sent to or
from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***