Posted By

burnsra on 05/10/10


Tagged

xml


Versions (?)

XML Fix


 / Published in: ColdFusion
 

  1. <cfset tempFileName = "#createUUID()#.xml" />
  2. <cfhttp url="http://cicsa:13304/storeOrderReview" method="post" result="httpResponse" file="#tempFileName#" path="#getTempDirectory()#">
  3. <cfhttpparam type="header" name="content-length" value="#len(soapBody)#">
  4. <cfhttpparam type="header" name="charset" value="utf-8">
  5. <cfhttpparam type="header" name="Accept-Encoding" value="*" />
  6. <cfhttpparam type="header" name="TE" value="deflate;q=0" />
  7. <cfhttpparam type="xml" value="#trim(soapBody)#" />
  8. </cfhttp>
  9.  
  10. <cfset xmlContent = xmlParse('#getTempDirectory()#/#tempFileName#') />
  11. <!--- <cfdump var="#httpResponse.filecontent#"> --->
  12. <cfset BSO_Parent = "#XMLSearch(xmlContent, "//*[local-name()='svho_order_summary']")#">

Report this snippet  

You need to login to post a comment.