Hi Nadine, Looks like the specified endpoint is not accessible from the machine you are running axis2c or the client is timing out. You can adjust the timeout by using the axis2_options_set_timeout_in_milli_seconds method.
Another option would be to use a client like soapui to check whether the endpoint is accessible from the machine. Regards Nandika On Wed, Aug 29, 2012 at 2:06 AM, <nshif...@worldbank.org> wrote: > Hello, > > I am sending a request to a Web Service using the function * > axis2_svc_client_send_receive*(). > I tested it with several web services and it worked fine, expect for one > case, when I get the following errors, and the above function returns NULL. > > [Mon Aug 27 15:04:27 2012] [debug] http_transport_sender.c(246) > ctx_epr:http://*some_url* > [Mon Aug 27 15:04:27 2012] [debug] http_transport_sender.c(807) using > axis2 native http sender. > [Mon Aug 27 15:04:27 2012] [debug] http_sender.c(416) > msg_ctx_id:urn:uuid:065f0be7-f06a-2e10-21a7-00213848b676 > [Mon Aug 27 15:04:27 2012] [debug] http_client.c(571) http client , > response timed out > > When I send requests to this URL "some_url" manually, through other test > applications that don't use AXIS2C, everything works fine. > > When initializing my AXIS2C client, I don't set the timeout in options > specifically. > If I call the function axis2_options_get_timeout_in_milli_seconds() after > creating the client (with axis2_svc_client_create), the timeout value > returned is 30000. > This is 30 sec, and it should be enough for the web service to respond. > > I would appreciate an advise, what could cause this problem, and how to > solve it? > > Thanks, > Nadine Shifman > Software Consultant, WorldBank. > --------------------------------------------------------------------- To > unsubscribe, e-mail: c-user-unsubscr...@axis.apache.org For additional > commands, e-mail: c-user-h...@axis.apache.org