1 Reply Latest reply on Sep 13, 2006 11:07 AM by Babu George-Oracle

    Req/Reply message using HTTP adapter

    277432
      I am using a HTTP Adapter to receive a request message from a client application and sending a response back to the client. The response is being sent by the adapter is XML with a HTML wrapper. However, the client application can't accept HTML; we have to send pure XML.
      Is there any easy way to change this in adapter.ini? Can we do something using ReceiverCustomizer? or we have to do something in the TransportServlet?
      -----------------------------------------Current Response message-------------------------
      <html><head><title>TransportServlet </title></head>
      <body><h1>TransportServlet</h1>
      <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
      <ns1:response userId=""
      xmlns:ns1="http://quikpayasp.com/namespace/activity">
      <account type="StanfordCardPlan">
      <currentBalance></currentBalance>
      <accountActivityDate></accountActivityDate>
      </account>
      </ns1:response>

      </body></html>

      --------------------Expected----------------------------------------------
      <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
      <ns1:response userId=""
      xmlns:ns1="http://quikpayasp.com/namespace/activity">
      <account type="StanfordCardPlan">
      <currentBalance></currentBalance>
      <accountActivityDate></accountActivityDate>
      </account>
      </ns1:response>
      ------------------------------------------------------------------------------

      Appreciate your response.