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 Emanuele Benedetti <be...@mclink.it> on 2011/02/05 09:46:09 UTC

Error in sending routine

Hi

I found a bug (or it appears a bug to me) in  
axis2_svc_client_send_receive().

If it fails to send a message, it try to read the response anyway. The  
result is the the error message returned by AXIS2_ERROR_GET_MESSAGE(  
m_env->error ) is:

A read attempt(HTTP) for the reply without sending the request

while, in reality was:

Error creating a socket. Most probably error returned by OS

like can be seen in the axis2 log:


[Sat Feb  5 09:12:54 2011] [error] http_client.c(238) Error creating a  
socket. Most probably error returned by OS
[Sat Feb  5 09:12:54 2011] [error] http_client.c(239) Socket Creation  
failed.
[Sat Feb  5 09:12:54 2011] [error] http_client.c(544) client data stream   
null or socket error for host cis.porezna-uprava.hr and 8443 port
[Sat Feb  5 09:12:54 2011] [error] http_client.c(548) A read attempt(HTTP)  
for the reply without sending the request
[Sat Feb  5 09:12:54 2011] [error] http_sender.c(1381) status_code < 0
[Sat Feb  5 09:12:54 2011] [error] engine.c(179) Transport sender invoke  
failed

It is not a serious bug, but it generates confusion.



-- 
Saluti
Emanuele

---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
For additional commands, e-mail: c-user-help@axis.apache.org