Roland,

When I read content coming from the Ariba middle connection server it is done like this in our live site code...

   <cfscript>
       myCXML = XMLParse(request.HTTPHeader.content);
   ...
   ...
   ...

I may try doing what you are saying from our Ariba test system. It has been months since I dove in... and at this point the why or how that variable was figured out to work is beyond me. It was when we were learning how to do it the first time.

John



Roland Collins wrote:

John - is this what you're trying to accomplish?

Caller.cfm:

<!--- Passes a header named "someXml" to the callee //--->
<cfhttp url="http://somedomain.com/Callee.cfm"; result="returnValue">
<cfhttpparam name="someXml" type="header"
value="<elements><element></element></elements>">
</cfhttp>

<cfdump var="#returnValue#">



Callee.cfm:

<!--- Echoes the header //--->
<cfset someXml = getPageContext().getRequest().getHeader('someXml')>
<cfoutput>#someXml#</cfoutput>


-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Farrar Sent: Wednesday, March 02, 2005 9:02 PM To: [email protected] Subject: [CFCDev] HELP! ... How to Sending HTTP Content Via Header in Request Importance: High

OK... here is my goal.

1. I have a page using <CFHTTP> (or whatever correct method I should use)
2. It is sending an XML based header to another CFM page. (XML should be in header, receiving page should be able to see it via this variable "request.HTTPHeader.content") ... this is to emulate a test for another program to make sure the page is working.
(If I get that far the rest is gravy!)
3. I return content to the calling page to validate the request was accepted.


KEY: Step 2 must receive the content in that variable without manipulating the content into it... request.HTTPHeader.content

I know this is simple... but in this case it's passing me by... any gurus out there who can reply for the school of WATSAMATTA U?

Thanks in advance,

John Farrar

P.S.
CFMX 6.x plus


---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]





----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]







---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]



Reply via email to