• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Problem when consuming web service on WIndows authentication applcation

New Here ,
Aug 23, 2007 Aug 23, 2007

Copy link to clipboard

Copied

Hi,

I am having a tough time in consuming web services on a Windows authentication IIS server.

In one of my application I have created web services and consuming those web services from my another application.

If I turned off the Windows authentication everything works fine, but If I turned on the Windows authentication web services stop working.

Has anyone encountered such error while working with web services on Windows authentication server.

Attach Code

Could not perform web service invocation "funGetCustomer".
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...


TOPICS
Advanced techniques

Views

371

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 23, 2007 Aug 23, 2007

Copy link to clipboard

Copied

Hi Sandeep,

I am also facing the same problem. Please let me know if you find any solution.

Thanks
Amit Prasad

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 06, 2007 Sep 06, 2007

Copy link to clipboard

Copied

LATEST
You could try switching the HTTP transport provided in the Apache Axis embedded in ColdFusion to "CommonsHTTPSender".

See this blog post: http://tjordahl.blogspot.com/2007/03/apache-axis-and-commons-httpclient.html

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation