Reply To: HTTPS Connection Error

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf HTTPS Connection Error Reply To: HTTPS Connection Error

#58978
Pete Gilbert
Participant

    I have changed my code as follows:

    keylset postArgs URL https://app.wellcentive.com/Training/StorageEJB/StorageService/StorageService

    keylset postArgs DATA $NewMsg

    keylset headerList Content-Type text/xml

    keylset headerList SOAPAction uploadMessage

    # keylset headerList Host nodcrsie11sv.no.trinity-health.org

    # keylset headerList User-Agent QDX_Integration_Services_5.3

    keylset postArgs HEADERS $headerList

    keylset postArgs DATA $NewMsg

    keylset postArgs HTTPS “MODE ClientAnon”

    keylset authlist SCHEME base-64

    keylset authlist USER Trinity

    keylset authlist PASSWD VHJpbm10eTpxVzE5biF2c3E=

    keylset postArgs AUTH $authlist

    keylset postArgs DEBUG 1

    echo $postArgs

    set retval [httppost $postArgs]

    echo $retval

    This is the output:

    {URL https://app.wellcentive.com/Training/StorageEJB/StorageService/StorageService} {DATA {


      xmlns:soap=”http://schemas.xmlsoap.org/soap/envelope/

      xmlns:soapenc=”http://schemas.xmlsoap.org/soap/encoding/

     

      xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance

      xmlns:xsd=”http://www.w3.org/2001/XMLSchema“>

      http://schemas.xmlsoap.org/soap/encoding/“>

         http://storage.interfaces.wellcentive.com“>

    MSH|^~&|PATHNET|SJMHS|TDS|SJMHS|20060815164700-0400||ORU^R01|07|P|2.1

    PID|||000000003000118|07000|MSBUGUTGRAHAM^LABEMR^2||19850608|F||B||||||||000180015706221|018001570

    PV1|||MLAB|||||||07A||||||||S|6221|||||||||||||||||||||||||20060809105800-0400

    ORC|RS|1|||CM||||20060815164100-0400|MKGENLB||700219^Graham,Daniel|MLAB

    OBR||01A449BAD|0000622700044|1001310^USODR^SODIUM, RANDOM-URINE|RT|20060815164100-0400|20060815164100-0400|||MGHPPJR|||PRE GO LIVE TEST|20060815164100-0400|OTHER|700219^Graham,Daniel|||||01819307120001010100131024530835824530835800000000101|||LA|F||RT^^^20060815164100

    OBX|001|NM|1001310^USODR||100|MMOL/L|||||F

           

     

     

    }} {HEADERS {{Content-Type text/xml} {SOAPAction uploadMessage}}} {HTTPS {MODE ClientAnon}} {AUTH {{SCHEME base-64} {USER Trinity} {PASSWD VHJpbm10eTpxVzE5biF2c3E=}}} {DEBUG 1}

    {STATUS {HTTP/1.1 400 Bad Request}} {HEADERS {}} {BODY {}}

    Sending post request:

    POST /Training/StorageEJB/StorageService/StorageService HTTP/1.1

    From: anonymous@unknown.com

    User-Agent:  HCDC __cHTTPClient

    Host:        app.wellcentive.com

    Connection: close

    Content-Type:

    Content-Length: 1194

    Why isn’t it using my headers?????!!!!!