axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajika Kumarasiri <rajika.kumaras...@gmail.com>
Subject Re: how to get the http status code
Date Thu, 16 Jul 2009 02:37:50 GMT
May be some debugging will help?

-Rajika

On Thu, Jul 16, 2009 at 5:45 AM, Vivian Wang <vivianwangym@yahoo.com> wrote:

>
> Hi There,
>
> I am using axis2/c to make web service client call, like this:
>
>       axiom_node_t * node =
> axis2_svc_client_send_receive(_wsf_service_client, _env, payload);
>
> After this, I am trying to use the following API to get the http status
> code,
>
>       AXIS2_EXTERN int AXIS2_CALL
> axis2_svc_client_get_http_status_code(axis2_svc_client_t * svc_client, const
> axutil_env_t * env);
>
> I am expecting 408 for time out, 200 for success. However, I am always
> getting 0. How do I get the proper status code?
>
> Thanks!
> Vivian
>
>
>
>
>


-- 
http://wso2.org
http://llvm.org
http://www.minix3.org

Mime
View raw message