Dave,

We have successfully registered .net webservice by passing in username and
password. However our project requires this webservice be configured as
"Integrated Windows Authentication". So, the question for us now becomes:
How to invoke .net webservice requires Windows Authentication?

 

We did some research and also tried different ways to make it work. But we
still without passing in username and password we get the following error:

 

Could not perform web service invocation "UploadFileBasic".  

Here is the fault returned when invoking the web service operation:

 

AxisFault

 faultCode: {http://xml.apache.org/axis/}HTTP

 faultSubcode: 

 faultString: (401)Unauthorized

 faultActor: 

 faultNode: 

 faultDetail: 

      {}:return code:  401

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd";>

<HTML><HEAD><TITLE>You are not authorized to view this page</TITLE>

<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">

<STYLE type="text/css">

  BODY { font: 8pt/12pt verdana }

  H1 { font: 13pt/15pt verdana }

  H2 { font: 8pt/12pt verdana }

  A:link { color: red }

  A:visited { color: maroon }

</STYLE>

</HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD>

 

<h1>You are not authorized to view this page</h1>

You do not have permission to view this directory or page using the
credentials that you supplied because your Web browser is sending a
WWW-Authenticate header fi... 

 

Some people said: "only Microsoft products can pass the required protocols
for Windows Integrated Security". 

Is that true? Please share your thoughts.

 

Thanks,

Hong

 

  

-----Original Message-----
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Wednesday, June 03, 2009 5:10 PM
To: cf-talk
Subject: Re: Error register asp.net web service in CF 7 admin

 

 

> We found the problem. It was a user authentication issue. We were able to

> register the web service with a network username and password and which is

> also a valid username/password in HP Trim.

 

Well, that explains why you had an HTML META tag in the response!

 

Dave Watts, CTO, Fig Leaf Software

http://www.figleaf.com/

 

Fig Leaf Software provides the highest caliber vendor-authorized

instruction at our training centers in Washington DC, Atlanta,

Chicago, Baltimore, Northern Virginia, or on-site at your location.

Visit http://training.figleaf.com/ for more information!

 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323357
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to