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 Sushmita Sahu <Su...@infosys.com> on 2007/05/07 14:18:04 UTC

RE: [Axis2C] problem in running the client

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***
	

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