login button

WSF/PHP to WSC with this WSDL even possible? Please help

Forums :

Hi all

I've been trying to get this working but it fails everytime. I've seen dozens of different errors and can't seem to figure out what is wrong. Here's the deal:

This WSDL: (publicliy accessible though you need credentials) has 2 endpoints. I specificaly choose transport layer security (https endpoint) because this avoids all the certificate/signing mess. However the function i want to execute has headers and body and i can't seem to be able to retrieve a response from the server.

The WSDL: http://www.netdocs.com.pt/wsdl/CTMessageService/MessageService.wsdl

I have attached the current version of my client which apparently doesn't do anything at all and the certificate needed to validade the server's https certificate. I have also attached the wsdl file though it is accessible online.

I'm not using WSF in wsdl mode because i need to add headers to messages. I'm just posting it to see if someone can get it working on WSMessage base.

The current error is:
[Wed Aug 27 11:24:04 2008] [debug] http_client.c(472) http client , response timed out
[Wed Aug 27 11:24:04 2008] [error] http_client.c(475) Response timed out
[Wed Aug 27 11:24:04 2008] [error] http_sender.c(1334) status_code < 0
[Wed Aug 27 11:24:04 2008] [error] engine.c(179) Transport sender invoke failed
[Wed Aug 27 11:24:04 2008] [error] /tmp/tmptNcJDD/wso2_wsf_php-1.3.2/src/wsf_client.c(1474) Response Payload NULL( Error number and code) => : 90 :: Response timed out
[Wed Aug 27 11:24:04 2008] [debug] arch_file_data.c(149) Service name :subscription
[Wed Aug 27 11:24:04 2008] [info] [rampart][rampart_mod] rampart_mod shutdown

Thanks for your help

AttachmentSize
index.php_.txt6.73 KB
cacert_pem.txt3.04 KB
service.wsdl.txt34.99 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

When I tried your WSDL I too

When I tried your WSDL I too got the timeout exception. SO i like to ask whether you were able to access this from other framework.

And another thing I noticed is the certificates you attached are different from openssl s_client -connect www.netdocs.com.pt:443 command. With that certificate at least the client verify the server although it still timeout the connect to the endpoint.

Note: You can use SOAP headers with WSDL from the latest SVN. It was not there in the 1.3.2.

Thanks
Dimuthu

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.