I think there are optional username/password fields in the CFHTTP tag. I've 
used those before with Windows authentication.

 

     -Chase

Chase Seibert |  Network and Systems Engineer |  Bullhorn Inc.  |  617.464.2440 
x119  |  www.bullhorn.com


 
-----Original Message-----
From:Shawna Hampton [EMAIL PROTECTED] 
To: "CF-Talk" ;
Sent: Jun 16, 2005 02:14:54 PM
Subject: Consuming .NET Web service - weird error and Windows authentication
Hi all, 
I'm trying to consume a remote .NET Web service. I've tried using and , with 
bad results for both. 

Using : 
customerid="blahblah" username="blahblah" password="blahblah" domain="blahblah" 
returnvariable="Invoices"> 


gives me: 
Could not generate stub objects for web service invocation. 
org.xml.sax.SAXException: Fatal Error: URI=null Line=11: Expected "" to 
terminate element starting on line 3. 

Using : 








gives me an IIS authentication error ("You are not authorized to view this page 
... etc. HTTP Error 401.2). 

Apparently, the .NET developer is using some kind of windows authentication to 
allow remote access to this Web service. When I talked to him about it, he told 
me to "figure out how to consume Web servies using windows authentication" 
hence the username/password/domain crap in the cfhttp and cfinvoke. 

My question: What does the error I'm getting with the cfinvoke mean, and how 
else should I be invoking a .NET Web service with windows authentication, 
because obviously the way I'm using doesn't work? 

Many, many thanks! 
Shawna 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209734
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to