Loading ...
Sorry, an error occurred while loading the content.

Response using Coldfusion?

Expand Messages
  • evital143
    Anyone get a response using coldfusion? // Build XML XMLstr =
    Message 1 of 1 , Feb 15, 2006
    • 0 Attachment
      Anyone get a response using coldfusion?

      <cfscript>
      // Build XML
      XMLstr = '<?xml version="1.0" encoding="UTF-8"?>
      <DTCRequest xmlns:xs="http://www.w3.org/2001/XMLSchema-
      instance"
      xs:schemaLocation="urn:/ows/aws/1.2https://x-
      secure.overture.com/schema/dtc/1.2/dtc_request.xsd"
      xmlns="urn:/ows/aws/1.2" username="#USERNAME#"
      password="#PASSWORD#" key="#KEY#" >
      <Actions accountId="#ACCOUNTID#" >
      <GetListings />
      </Actions>
      </DTCRequest>';
      </cfscript>

      <cfhttp url="https://x-secure.overture.com/index.jhtml?
      _DARGS=/index.jhtml" method="POST" timeout="30">

      <cfhttpparam type="Header" name="charset" value="utf-8">
      <cfhttpparam type="Header" name="Content-Type"
      value="application/x-www-form-urlencoded">
      <cfhttpparam type="FORMFIELD" name="XML"
      value="#URLencodedFormat(XMLStr)#">
      <cfhttpparam type="FORMFIELD"
      name="_D:/go2/xml/XMLRequestHandler.submit" value=" ">

      </cfhttp>

      <cfdump var="#CFHTTP#">
    Your message has been successfully submitted and would be delivered to recipients shortly.