greeshma
Member
Hi All,
I am trying to call an external wsdl url.
Sample code is given below. I am able to connect. But in second run (RUN ipAction IN hPortType), i am getting below error. Input is an XML. Expecting a xml having base64 data in one of the element in response xml which needs to converted to pdf file.
The error coming is : Secure Socket Layer (SSL) failure. error code 79: Unknown network error (9318) Connection failure for host tickeos.de port 443 transport HTTPS. (9407) Error sending Web Service Request: Fatal Error: connect operation failed (Error 0) (11767)
I am trying to call an external wsdl url.
Sample code is given below. I am able to connect. But in second run (RUN ipAction IN hPortType), i am getting below error. Input is an XML. Expecting a xml having base64 data in one of the element in response xml which needs to converted to pdf file.
The error coming is : Secure Socket Layer (SSL) failure. error code 79: Unknown network error (9318) Connection failure for host tickeos.de port 443 transport HTTPS. (9407) Error sending Web Service Request: Fatal Error: connect operation failed (Error 0) (11767)
Code:
def var v-request-xml as longchar no-undo.
def var v-response as longchar no-undo.
CREATE SERVER hWS.
hWS:CONNECT( "-WSDL https://wsdlurl -WSDLUserid xxx -WSDLPassword yyyy -hostverify").
RUN ipPortype SET hPortType ON SERVER hWS.
/* Input xml and read output xml .
Expecting a xml having base64 data in one of the element in response xml which needs to converted to pdf file */
RUN ipAction IN hPortType ( INPUT v-request-xml, OUTPUT v-response ) no-error.
Code:
As per cert.client.log
[Fri Sep 4 14:38:24 2015] ID-0x132b4c10 CTX-0x132b6dd0 BIO-0x132b77d0 INFO --- Attempting to write 254 bytes
[Fri Sep 4 14:38:24 2015] ID-0x132b4c10 CTX-0x132b6dd0 BIO-0x132b77d0 INFO --- Wrote 254 bytes successfully
[Fri Sep 4 14:38:24 2015] ID-0x132b4c10 CTX-0x132b6dd0 BIO-0x132b77d0 INFO --- Attempting to read 32768 bytes
[Fri Sep 4 14:38:24 2015] ID-0x132b4c10 CTX-0x132b6dd0 BIO-0x132b77d0 INFO --- Read 519 bytes successfully
[Fri Sep 4 14:38:24 2015] ID-0x132b4c10 CTX-0x132b6dd0 BIO-0x132b77d0 INFO --- Attempting to read 32768 bytes
[Fri Sep 4 14:38:24 2015] ID-0x132b4c10 CTX-0x132b6dd0 BIO-0x132b77d0 INFO --- Read 6 bytes successfully
[Fri Sep 4 14:38:25 2015] ID-0x132b4c10 CTX-0x132b6dd0 BIO-0x132b77d0 INFO --- Attempting to read 32768 bytes
[Fri Sep 4 14:38:25 2015] ID-0x132b4c10 CTX-0x132b6dd0 BIO-0x132b77d0 INFO --- Read 16384 bytes successfully
[Fri Sep 4 14:38:25 2015] ID-0x132b4c10 CTX-0x132b6dd0 BIO-0x132b77d0 INFO --- Attempting to read 32768 bytes
[Fri Sep 4 14:38:25 2015] ID-0x132b4c10 CTX-0x132b6dd0 BIO-0x132b77d0 INFO --- Read 369 bytes successfully
[Fri Sep 4 14:38:25 2015] ID-0x132b4c10 CTX-0x132b6dd0 BIO-0x132b77d0 INFO --- Attempting to read 32768 bytes
[Fri Sep 4 14:38:25 2015] ID-0x132b4c10 CTX-0x132b6dd0 BIO-0x132b77d0 INFO --- Read 2 bytes successfully
[Fri Sep 4 14:38:25 2015] ID-0x132b4c10 CTX-0x132b6dd0 BIO-0x132b77d0 INFO --- Attempting to read 32768 bytes
[Fri Sep 4 14:38:25 2015] ID-0x132b4c10 CTX-0x132b6dd0 BIO-0x132b77d0 INFO --- Read 5 bytes successfully
[Fri Sep 4 14:38:26 2015] ID-0x13606630 CTX-0x00000000 BIO-0x00000000 INFO --- Initialized OpenSSL client logging
[Fri Sep 4 14:38:26 2015] ID-0x13606630 CTX-0x00000000 BIO-0x00000000 INFO --- Enabling SSL Client session reuse
[Fri Sep 4 14:38:26 2015] ID-0x13606630 CTX-0x13604e90 BIO-0x00000000 INFO --- Terminated SSL Client session
[Fri Sep 4 14:38:26 2015] ID-0x132b4c10 CTX-0x132b6dd0 BIO-0x132b77d0 INFO --- Terminated SSL Client session