[prev in list] [next in list] [prev in thread] [next in thread]
List: wsf-c-dev
Subject: [wsf-c-dev] [jira] Created: (WSFPHP-368) PHP WSF Client,
From: "Bogdan Matei (JIRA)" <jira () wso2 ! org>
Date: 2008-12-15 17:10:04
Message-ID: 1619913097.1229361004950.JavaMail.jira () wso2 ! org ! ec2 ! wso2 ! com
[Download RAW message or body]
PHP WSF Client, WSDL+ SSL (Signiture + Timestamp, Issuer Serial References) consuming \
WSS4J service
----------------------------------------------------------------------------------------------------
Key: WSFPHP-368
URL: https://wso2.org/jira/browse/WSFPHP-368
Project: WSO2 WSF/PHP
Issue Type: Bug
Components: Build System / Linux, Client SSL Transport, WS-Policy Support, \
WS-Security Support, WSClient, WSService Affects Versions: 2.0.0
Environment: Fedora Core 9, WSO2 WSF/PHP 2.0, php-5.2.6-2.fc9.i386, \
openssl-0.9.8g-9.fc9.i686, httpd-2.2.8-3.i386 Reporter: Bogdan Matei
Priority: High
Attachments: WSF_PHP_WSS4J.zip
I'm glad to be here, this is my 1st post, i recently joined the users/developer \
list. May it be as many solutions as possible from my side. Very nice this project, \
congratulations for you older guys !!
The issue appeared when i tried to connect a PHP WSFClient to a WSS4J service, \
with the whole package: WSDL, SSL, ecryption, certificates. The client has a Public \
and Private keys, the service provides the public key and imports the public key from \
the client for a bidirectional encryption. Immediately after the successfull \
instalation the WSDL_mode samples don't work issueing the same status:
[Mon Dec 15 16:55:39 2008] [debug] phase_resolver.c(139) Service name is : \
__ANONYMOUS_SERVICE__
[Mon Dec 15 16:55:39 2008] [debug] phase_resolver.c(723) Module name is:addressing
[Mon Dec 15 16:55:39 2008] [debug] phase_resolver.c(2058) Trying to add this handler \
AddressingInHandler to system pre defined phases , but those handlers are already \
added to global chain which run irrespective of the service
[Mon Dec 15 16:55:39 2008] [debug] phase_resolver.c(723) Module name is:addressing
[Mon Dec 15 16:55:39 2008] [debug] phase_holder.c(139) Add handler \
AddressingOutHandler to phase MessageOut
[Mon Dec 15 16:55:39 2008] [debug] phase_resolver.c(723) Module name is:addressing
[Mon Dec 15 16:55:39 2008] [debug] phase_resolver.c(723) Module name is:addressing
[Mon Dec 15 16:55:39 2008] [debug] phase_holder.c(139) Add handler \
AddressingOutHandler to phase MessageOut
[Mon Dec 15 16:55:39 2008] [debug] phase_resolver.c(723) Module name is:addressing
[Mon Dec 15 16:55:39 2008] [debug] phase_resolver.c(2058) Trying to add this handler \
AddressingInHandler to system pre defined phases , but those handlers are already \
added to global chain which run irrespective of the service
[Mon Dec 15 16:55:39 2008] [debug] phase_resolver.c(723) Module name is:addressing
[Mon Dec 15 16:55:39 2008] [debug] phase_holder.c(139) Add handler \
AddressingOutHandler to phase MessageOut
[Mon Dec 15 16:55:39 2008] [debug] phase_resolver.c(723) Module name is:addressing
[Mon Dec 15 16:55:39 2008] [debug] phase_resolver.c(723) Module name is:addressing
[Mon Dec 15 16:55:39 2008] [debug] phase_holder.c(139) Add handler \
AddressingOutHandler to phase MessageOut
[Mon Dec 15 16:55:39 2008] [debug] phase_resolver.c(723) Module name is:addressing
[Mon Dec 15 16:55:39 2008] [debug] phase_resolver.c(2058) Trying to add this handler \
AddressingInHandler to system pre defined phases , but those handlers are already \
added to global chain which run irrespective of the service
[Mon Dec 15 16:55:39 2008] [debug] phase_resolver.c(723) Module name is:addressing
[Mon Dec 15 16:55:39 2008] [debug] phase_holder.c(139) Add handler \
AddressingOutHandler to phase MessageOut
[Mon Dec 15 16:55:39 2008] [debug] phase_resolver.c(723) Module name is:addressing
[Mon Dec 15 16:55:39 2008] [debug] phase_resolver.c(723) Module name is:addressing
[Mon Dec 15 16:55:39 2008] [debug] phase_holder.c(139) Add handler \
AddressingOutHandler to phase MessageOut
[Mon Dec 15 16:55:39 2008] [info] [rampart][rampart_mod] rampart_mod shutdown
The SSL key are all fine (DER, PEM, CSR, PEM chains). Np. The Apache server is \
SSL configured and works fine. The same client(s - judging the possibilities) on \
the same OS enviroment, but on WSO 1.3.0 produces:
[Mon Dec 15 16:23:37 2008] [debug] /tmp/wso2-wsf-php-src-2.0.0/src/wsf_client.c(1151) \
[WSF/PHP] Success in setting HTTP authentication information
[Mon Dec 15 16:23:37 2008] [debug] /tmp/wso2-wsf-php-src-2.0.0/src/wsf_client.c(1192) \
[WSF/PHP] Success in setting proxy authentication information
[Mon Dec 15 16:23:37 2008] [debug] /tmp/wso2-wsf-php-src-2.0.0/src/wsf_wsdl.c(1270) \
[wsf_client] policy object found
[Mon Dec 15 16:23:37 2008] [debug] /tmp/wso2-wsf-php-src-2.0.0/src/wsf_wsdl.c(1332) \
[wsf_wsdl]security object not found
[Mon Dec 15 16:23:37 2008] [debug] /tmp/wso2-wsf-php-src-2.0.0/src/wsf_wsdl.c(876) \
[WSF/PHP] soap action present :- urn:retrieveActiveSubscriptions
[Mon Dec 15 16:23:37 2008] [debug] /tmp/wso2-wsf-php-src-2.0.0/src/wsf_wsdl.c(932) \
[WSF/PHP] soap version in wsdl mode is 1
[Mon Dec 15 16:23:37 2008] [debug] op_client.c(881) \
Start:axis2_op_client_infer_transport
[Mon Dec 15 16:23:37 2008] [debug] op_client.c(944) \
End:axis2_op_client_infer_transport
[Mon Dec 15 16:23:37 2008] [debug] phase.c(210) Invoke the handler \
AddressingOutHandler within the phase MessageOut
[Mon Dec 15 16:23:37 2008] [info] Starting addressing out handler
[Mon Dec 15 16:23:37 2008] [debug] addr_out_handler.c(133) No action present. Stop \
processing addressing
[Mon Dec 15 16:23:37 2008] [debug] http_transport_sender.c(245) \
ctx_epr:https://tpe-staging.swisscom.ch/ws/ce/ChargingEnablerSubscriptionsServicePort
[Mon Dec 15 16:23:37 2008] [debug] http_transport_sender.c(798) using axis2 native \
http sender.
[Mon Dec 15 16:23:37 2008] [debug] http_sender.c(416) \
msg_ctx_id:urn:uuid:a2eea99a-caee-1dd1-274b-000c294ca439
[Mon Dec 15 16:23:37 2008] [info] [ssl client] No passphrase specified for key file \
/var/www/html/samples/wsdl_mode/certs/client_pp.pem and server cert \
/var/www/html/samples/wsdl_mode/certs/service.pem
[Mon Dec 15 16:23:37 2008] [error] ssl/ssl_utils.c(200) [ssl client] SSL certificate \
verification failed (error:00000014:lib(0):func(0):SSL lib)
[Mon Dec 15 16:23:37 2008] [error] ssl/ssl_stream.c(108) Error occurred in SSL engine
[Mon Dec 15 16:23:37 2008] [error] http_client.c(271) Data stream creation failed for \
Host some_server and 443 port
[Mon Dec 15 16:23:37 2008] [error] http_client.c(506) client data stream null or \
socket error for host some_server and 443 port
[Mon Dec 15 16:23:37 2008] [error] http_client.c(510) A read attempt(HTTP) for the \
reply without sending the request
[Mon Dec 15 16:23:37 2008] [error] http_sender.c(1358) status_code < 0
[Mon Dec 15 16:23:37 2008] [error] engine.c(179) Transport sender invoke failed
[Mon Dec 15 16:23:37 2008] [error] /tmp/wso2-wsf-php-src-2.0.0/src/wsf_wsdl.c(1153) \
[wsf_wsdl] Response envelope not found
[Mon Dec 15 16:23:37 2008] [info] [rampart][rampart_mod] rampart_mod shutdown
[Mon Dec 15 16:23:37 2008] [info] [rahas] Rahas module shutdown
Any suggestions?
--
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
_______________________________________________
Wsf-c-dev mailing list
Wsf-c-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic