B2B Integration

Sterling B2B Integration

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  ITX- HTTPS Get Token Error

    Posted Tue April 07, 2020 09:29 AM
    When i am trying to get token from an https URL i am getting the below error.

    WSAConnectSSL: GSK Error Code: 406, GSK_ERROR_IO.

    Failure: SSL connection NOT established with target server, <target server url>, on port, 443.

     

    Below is the code I am using in WTX map.

     

    GET( "HTTP" , "-URL https://123.com/connect/Token   -METHOD POST  -TV -HDR+ -TYPE application/x-www-form-urlencoded  ", package(httpPayload Data:httpTokenRequest))

    Kindly help on this.




    ------------------------------
    Suriya Prakash
    ------------------------------

    #B2BIntegration
    #SupplyChain


  • 2.  RE: ITX- HTTPS Get Token Error

    Posted Tue April 07, 2020 01:32 PM
    If possible kindly share https adapter example.

    ------------------------------
    Suriya Prakash
    ------------------------------



  • 3.  RE: ITX- HTTPS Get Token Error

    Posted Wed April 08, 2020 04:54 AM
    Hi Suriya,

    The GSK IO Error, means the SSL handshake has been failed with the server. Please check couple of things.

    1. What is the value of secure_mode in wtx_install_dir\dtx.ini?
    2. Does the server need 2 way SSL Authentication? Means, is server want Client Authentication as well? Because if Client Authentication is also forced by Server then you need to pass additional parameters to GET function for HTTP Resource Adapter. https://www.ibm.com/support/knowledgecenter/SSVSD8_8.4.1/com.ibm.websphere.dtx.adaphttp.doc/references/r_http_Client_Certificate_CERT.htm
    Also as you enabled the tracing so please share the Trace File so I can check the error.


    Regards,


    ------------------------------
    BHARAT BALOTHIA
    ------------------------------