My config: CF 7, win 2003 server, IIS 6

Not sure how to explain this and I'll probably use the wrong terms, but I need 
to get info from an ASP webservice, but I've only been given VB.net example 
code.  Here's the example code:

Dim WebClient As New System.Net.WebClient

WebClient.Credentials = New System.Net.NetworkCredential(ChallengeUserName, 
ChallengePassword)

Dim ReturnXml As String = 
WebClient.UploadString("http://xxx.xxx.xxx.xxx:2235/Data.ASP";, 
SendPacket.ToString)

That's easy enough...I think.  So, here's my cfhttp call:

<cfhttp username="xx" password="xxx" url="http://xxx.xxx.xxx.xxx:2235/data.asp"; 
method="post" useragent="#cgi.HTTP_USER_AGENT#" result="xxx" redirect="Yes">
<cfhttpparam type="Header" name="charset" value="utf-8" />
<cfhttpparam type="file" mimetype="text/xml" file="#thefile#" name="SendPacket" 
encoded="no" /> 
</cfhttp>

The response I get is: "Connection Failure".  ErrorDetail is: "I/O Exception: 
Premature EOF encountered" 

Through some googling, I found someone who had problems with IIS compression 
and changed their cfhttpparam header for Accept-Encoding....but that didn't 
help or change the response.

Any help would be appreciated. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316780
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to