I guess I'm screwed. The account is on shared server and the CFX tag require an install with Java. At least the ones I found...
Thanks for the input though. -Matt -----Original Message----- From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 11:07 AM To: CF-Talk Subject: Re: XML request/response issues - Still Whoops! Didn't realize you were on CF 5. The cfhttpparam change I suggested won't work then. You are likely going to need to use a 3rd party tag/object to get what you need. -Matt On Wednesday, August 27, 2003, at 11:44 PM, Matt Blatchley wrote: > I've tried changing the type in the CFHTTPParam but it didn't change > the > response. I'm using CF5, is that an issue? > > I ended up getting on the phone with these folks in Hungry and they > proceeded to tell me that ColdFusion didn't handle the XML > Request/Response > because ColdFusion was more of a "Scripting Language" rather than a > "real > programming language", at which point I threw the phone at the wall. > Once > I was able to piece the phone back together and finished calming down, > I > told them they needed to do more research because obviously they had no > freakin clue what they were talking about because they've been > programming > in C too long in some 'Hungarian Programming Vacuum' that the rest of > the > world needed to conform too in their eyes. > Anyway, they emailed me a "Makefile" file that they used on a Unix > box to > "help me out". Since I'm using NT and I don't write apps in C > anymore, it > only helped me determine that they weren't really going to help with > the XML > because they have no real documentation. Gotta love that! Enough > Ranting... > > Any other ideas why the response back from the XML server is saying > "Connection Failed"? > > Matt > > > > > > -----Original Message----- > From: Matt Liotta [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 27, 2003 1:51 PM > To: CF-Talk > Subject: Re: XML request/response issues - Still > > > Have you tried sending your post as a raw XML post instead? Simply > change your cfhttpparam type to XML. > > -Matt > > On Wednesday, August 27, 2003, at 02:38 PM, Matt Blatchley wrote: > >> I still trying to send an XML request to a server, but I get a >> Connection >> Failed Error in the response when I use CFHTTP. I know I'm doing >> something >> wrong becuase the log file is processing the request correctly, but >> the >> response is never getting back. The CFHTTP.FileContent is saying >> Connection >> Failed. >> >> I'm still new to XML so I'm not sure what I'm doing incorrectly. >> >> >> Here's the Request: >> >> <cfset xml_request_text = >> "<request><resellerid>reseller</resellerid><password>password</ >> password><req >> uestid>ER#RandRange(10000,999999)#</requestid><requestcode>1</ >> requestcode></ >> request>"> >> >> <cfhttp url="http://someIP" method="post" name="XML_name" >> resolveurl="false"> >> <cfhttpparam type="FORMFIELD" name="xml_request_text" >> value="#xml_request_text#"> >> </cfhttp> >> >> <cfoutput>#CFHTTP.FileContent#</cfoutput> >> >> Is there a better way to do this in CF? >> >> In the log file I get for the response... >> >> xml_request_text=<request><resellerid>ID</resellerid><password>ID</ >> password> >> <requestid>ER279897</requestid><requestcode>1</requestcode></request> >> >> 2003-08-21 13:41:12 -0400 Dump: [7197]Sending Response <response> >> >> <requestid>ER279897</requestid> >> >> <account> >> >> <account_name>IndexTools</account_name> >> >> <firstname>IndexTools</firstname> >> >> <mi></mi> >> >> <lastname>IndexTools</lastname> >> >> <package_id>8</package_id> >> >> <upgrades>STAT1</upgrades> >> >> <company>IndexTools</company> >> >> <created_date>2003-07-22</created_date> >> >> <status>-2</status> >> >> <payment_status>0</payment_status> >> >> <pageviews>0</pageviews> >> >> <pageview_forecast>0</pageview_forecast> >> >> <recent_logins>6</recent_logins> >> >> <install_date></install_date> >> >> <balance>9.95</balance> >> >> <due_date>2003-07-24</due_date> >> >> </account> >> >> <account> >> >> <account_name>ttttt</account_name> >> >> <firstname>ttttt</firstname> >> >> <mi></mi> >> >> <lastname>ttttt</lastname> >> >> <package_id>8</package_id> >> >> <upgrades>STAT3</upgrades> >> >> <company></company> >> >> <created_date>2003-07-22</created_date> >> >> <status>-2</status> >> >> <payment_status>0</payment_status> >> >> <pageviews>0</pageviews> >> >> <pageview_forecast>0</pageview_forecast> >> >> <recent_logins>8</recent_logins> >> >> <install_date></install_date> >> >> <balance>38.80</balance> >> >> <due_date>2003-07-22</due_date> >> >> </account> >> >> <response> >> >> >> >> 2003-08-21 13:41:12 -0400 Error: [7197]Error receive data in >> socket. >> >> 2003-08-21 13:41:12 -0400 Dump: [7197]Service task finished. >> >> 2003-08-21 13:42:11 -0400 Message: New client connected. >> >> 2003-08-21 13:42:11 -0400 Dump: [7272]Start service task >> >> 2003-08-21 13:42:11 -0400 Dump: [7272]Processing GET_ACCOUNT_LIST >> Request POST / HTTP/1.0 >> >> Host: someIP >> >> Referer: http://someIP >> >> User-Agent: ColdFusion >> >> Content-type: application/x-www-form-urlencoded >> >> Content-length: 167 >> >> >> The Host and the Referer IP are the same....I'm thinking this might be >> why I >> can't get the resonse. >> We're using CF5.0 and I know the WDDX packets won't be able to put the >> XML >> in the right format due to the <>'s. So far I'm at a loss. >> >> Any sugesstions would be greatly appreciated. >> >> Matt >> >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com