axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sérgio Gomes" <sergiomdgo...@gmail.com>
Subject Client data stream null or socket error
Date Thu, 20 Mar 2008 12:54:31 GMT
After fixing my Axis/C installation (by symlinking lib and modules in
AXIS2C_HOME), I now get a different error, apparently related to SSL:

[Thu Mar 20 12:49:38 2008] [debug] phase.c(121) axis2_handler_t
*request_uri_based_dispatcher added to the index 0 of the phase
Transport
[Thu Mar 20 12:49:38 2008] [debug] phase.c(121) axis2_handler_t
*addressing_based_dispatcher added to the index 1 of the phase
Transport
[Thu Mar 20 12:49:38 2008] [debug] phase.c(121) axis2_handler_t
*rest_dispatcher added to the index 0 of the phase Dispatch
[Thu Mar 20 12:49:38 2008] [debug] phase.c(121) axis2_handler_t
*soap_message_body_based_dispatcher added to the index 1 of the phase
Dispatch
[Thu Mar 20 12:49:38 2008] [debug] phase.c(121) axis2_handler_t
*soap_action_based_dispatcher added to the index 2 of the phase
Dispatch
[Thu Mar 20 12:49:38 2008] [debug] phase.c(121) axis2_handler_t
*dispatch_post_conditions_evaluator added to the index 0 of the phase
PostDispatch
[Thu Mar 20 12:49:38 2008] [debug] phase.c(121) axis2_handler_t
*context_handler added to the index 1 of the phase PostDispatch
[Thu Mar 20 12:49:38 2008] [debug] conf_builder.c(233) no custom
dispatching order found continue with default dispatching order
[Thu Mar 20 12:49:38 2008] [debug] class_loader.c(140) Object loaded
successfully
[Thu Mar 20 12:49:38 2008] [debug] class_loader.c(140) Object loaded
successfully
[Thu Mar 20 12:49:38 2008] [error] dir_handler.c(220) No files in the
path /home/sgomes/src/axis2c-src-1.3.0/services.
[Thu Mar 20 12:49:38 2008] [debug] dep_engine.c(1259)
axis2_dep_engine_load_module_dll: DLL path is :
/home/sgomes/src/axis2c-src-1.3.0/modules/addressing/libaxis2_mod_addr.so
[Thu Mar 20 12:49:38 2008] [debug] class_loader.c(140) Object loaded
successfully
[Thu Mar 20 12:49:38 2008] [debug] dep_engine.c(1259)
axis2_dep_engine_load_module_dll: DLL path is :
/home/sgomes/src/axis2c-src-1.3.0/modules/logging/libaxis2_mod_log.so
[Thu Mar 20 12:49:38 2008] [debug] class_loader.c(140) Object loaded
successfully
[Thu Mar 20 12:49:38 2008] [debug] phase_resolver.c(117) Service name
is : __ANONYMOUS_SERVICE__
[Thu Mar 20 12:49:38 2008] [debug] op_client.c(881)
Start:axis2_op_client_infer_transport
[Thu Mar 20 12:49:38 2008] [debug] op_client.c(936)
End:axis2_op_client_infer_transport
[Thu Mar 20 12:49:38 2008] [debug] engine.c(648)
Start:axis2_engine_invoke_phases
[Thu Mar 20 12:49:38 2008] [debug] engine.c(660) Invoking phase MessageOut
[Thu Mar 20 12:49:38 2008] [debug] engine.c(670) End:axis2_engine_invoke_phases
[Thu Mar 20 12:49:38 2008] [debug] http_transport_sender.c(248)
ctx_epr:https://adwords.google.com/api/adwords/v11/CampaignService
[Thu Mar 20 12:49:38 2008] [debug] http_sender.c(393)
msg_ctx_id:19db0c94-f67c-1dc1-352d-001aa0127f18
[Thu Mar 20 12:49:38 2008] [info]  [ssl client] CA certificate not specified
[Thu Mar 20 12:49:38 2008] [debug] http_client.c(421) [axis2c] client
data stream  null or socket error
[Thu Mar 20 12:49:38 2008] [error] http_sender.c(1121) status_code < 0

It's complaining that the data stream is null or there is a socket
error, so I guess it's having problems connecting to the endpoint, or
am I wrong?

I'm including my axis2.xml. I created a certificate file as explained
in http://ws.apache.org/axis2/c/docs/axis2c_manual.html#ssl_client
with the server's certificate instead of the CA certificate, by
running the provided script. I don't need client authentication, so I
didn't set KEY_FILE or SSL_PASSPHRASE.

Sorry about bothering you guys yet again, but I've looked everywhere
in the manual and online and I can't find any useful information on
this. :-/

Thanks,
Sérgio

Mime
View raw message