0 Replies Latest reply on Oct 8, 2015 10:35 PM by Kristofer Cruz

    Direct cXml Punchout gic error 202 - Site Does Not Respond

    Kristofer Cruz

      In R12 we are trying to do a direct connect cXML punchout to a supplier. We get "202 Site Does Not respond".  I know the certs are correct because it is able to connect via https port 443.  But when the redirect happens, it redirects to an http.   We have ran the same parameters through a thrid party punchout test site and they appear to work however the third party is redirected to an https url.

       

      Does anyone have any idea regarding this?

       

      We ran the punchout through the Oracle Punchout Test and this is the log:

       

      ##### START TestPunchout ##### [Wed Oct 07 12:05:34 PDT 2015]

      ProcessorException

       

      No response received

      Proxy Host: null

      Proxy Port: -1

      CA Certification File Location: /u02/oracle/etest/apps/tech_st/10.1.2/sysman/config/b64InternetCertificate.txt

       

       

          at oracle.apps.icx.punchout.processors.HttpPostProcessor.readResponse(HttpPostProcessor.java:270)

          at oracle.apps.icx.punchout.processors.HttpPostProcessor.execute(HttpPostProcessor.java:112)

          at oracle.apps.icx.punchout.util.TestPunchout.postLoginRequestXML(TestPunchout.java:199)

          at oracle.apps.icx.punchout.util.TestPunchout.main(TestPunchout.java:93)

       

       

      ========================== HttpsURL ==========================

      HttpsURL()

      ----url=https://acornuniforms.umsecure.com/UMSS.cfm?page=page-index.cfm&template_code=Index&Lcode=PunchOutSetupRequest

      init()

      ----proxyHost=null

      ----proxyPort=80

      ----CACertFile=/u02/oracle/etest/apps/tech_st/10.1.2/sysman/config/b64InternetCertificate.txt

      readCACerts()

      ----CACertFile=/u02/oracle/etest/apps/tech_st/10.1.2/sysman/config/b64InternetCertificate.txt

      ----CACerts.size()=18

      ----Using default algorithm PKIX for TrustManagerFactory

      openConnection()

      setContentType()

      ----contentType=text/xml

      getOutputStream()

      connect()

      createConnection()

      ----hostName=acornuniforms.umsecure.com

      ----portNum=443

      ----secure=true

      verifyPeerCertChain()

      Connection is using the protocol - TLSv1

      getInputStream()

      ----Writing to output stream...

      POST /UMSS.cfm?page=page-index.cfm&template_code=Index&Lcode=PunchOutSetupRequest HTTP/1.0

      Content-type: text/xml

      Content-length: 1059

      host: acornuniforms.umsecure.com:443

       

      <?xml version = '1.0' encoding = 'UTF-8'?>

      <!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.1.007/cXML.dtd">

      <cXML version="1.1.007" xml:lang="" payloadID="20151007120534..113572@" timestamp="2015-10-07T12:05:34-08:00">

         <Header>

            <From>

               <Credential domain="">

                  <Identity/>

               </Credential>

            </From>

            <To>

               <Credential domain="Name">

                  <Identity/>

               </Credential>

            </To>

            <Sender>

               <Credential domain="">

                  <Identity/>

                  <SharedSecret/>

               </Credential>

               <UserAgent/>

            </Sender>

         </Header>

         <Request>

            <PunchOutSetupRequest operation="create">

               <BuyerCookie>1444244734854</BuyerCookie>

               <Extrinsic name="User"/>

               <BrowserFormPost>

                  <URL/>

               </BrowserFormPost>

               <Contact>

                  <Name xml:lang=""/>

                  <Email/>

               </Contact>

               <SupplierSetup>

                  <URL/>

               </SupplierSetup>

            </PunchOutSetupRequest>

         </Request>

      </cXML>

      ----Reading from the input stream...

      HTTP/1.1 302 Moved Temporarily

      Cache-Control: no-cache

      Pragma: no-cache

      Content-Type: text/html; charset=UTF-8

      Content-Language: en-US,en-US

      Location: http://acornuniforms.umsecure.com:443/acornuniforms.umsecure.cfm?processinglogin=1&page=page-index.cfm&template_code=Index&Lcode=PunchOutSetupRequest&CFID=6686687&CFTOKEN=bd0fad9217c069b3-A4F1D7DC-BD01-BF00-F3F1E2715D7516DC&jsessionid=8e30c1345a7e5564cff8171a297b22847712

      Server: Microsoft-IIS/7.5

      Set-Cookie: CFID=6686687;expires=Fri, 29-Sep-2045 19:05:36 GMT;path=/

      Set-Cookie: CFTOKEN=bd0fad9217c069b3-A4F1D7DC-BD01-BF00-F3F1E2715D7516DC;expires=Fri, 29-Sep-2045 19:05:36 GMT;path=/

      Set-Cookie: JSESSIONID=8e30c1345a7e5564cff8171a297b22847712;path=/

      X-Powered-By: ASP.NET

      Date: Wed, 07 Oct 2015 19:05:36 GMT

      Connection: close

      Content-Length: 0

       

      ========================== HttpsURL ==========================

       

      Response from external site:

      null

      ##### END TestPunchout ##### [Wed Oct 07 12:05:37 PDT 2015]

       

       

       

      Kris