[wsf-c-dev] [jira] Commented: (WSFPHP-244) Error , NO Response Received

Dimuthu Gamage (JIRA) jira at wso2.org
Wed Mar 5 00:46:44 PST 2008


    [ https://wso2.org/jira/browse/WSFPHP-244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15852#action_15852 ] 

Dimuthu Gamage commented on WSFPHP-244:
---------------------------------------

AFAIK if the client doesn't have server certificate authority information it fails, You can specify the server authority certificate (CA certificate) to the wsclient manually.

e.g.
$client = new WSClient(array("to"=> "https://yourservice/service/something", "CACert" => "cert.pem"));

In a case you doesn't have the CA cert you can generate it from the following command

openssl s_client -connect yourservices:443 (you shoud replace 'yourservices' with the service endpoint host name)
and then extract the content inside BEGIN CERT and END CERT (including that) and save in the cert.pem. (which is to be referred from the WSClient)


Thanks
DImuthu.

> Error , NO Response Received
> ----------------------------
>
>                 Key: WSFPHP-244
>                 URL: https://wso2.org/jira/browse/WSFPHP-244
>             Project: WSO2 WSF/PHP
>          Issue Type: Bug
>         Environment: Linux
>            Reporter: TABET HAKIM
>
> Hi
> When I run my application I receive Error , NO Response Received. My URL contain https.
> and in the log file I have this information 
> [Tue Mar  4 12:52:28 2008] [debug] http_sender.c(290) msg_ctx_id:c1287416-ea13-1dc1-2bfe-00170850f3be
> [Tue Mar  4 12:52:28 2008] [info]  [ssl client] CA certificate not specified
> [Tue Mar  4 12:52:28 2008] [debug] http_client.c(420) [axis2c] client data stream  null or socket error
> [Tue Mar  4 12:52:28 2008] [error] http_sender.c(727) status_code < 0
> [Tue Mar  4 12:52:28 2008] [debug] http_transport_sender.c(654) OP name axutil_qname_get_localpart = http://www.w3.org/2004/08/wsdl/out-in
> [Tue Mar  4 12:52:28 2008] [error] /root/wso2-wsf-php-src-1.2.0/src/wsf_client.c(1320) Response Payload NULL( Error number and code) => : 82 :: Input stream is NULL in message context
> [Tue Mar  4 12:52:28 2008] [info]  [rampart][rampart_mod] rampart_mod shutdown
> Thanks 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the Wsf-c-dev mailing list