访问被拒绝的Web服务问题 [英] Access denied issue for web service

查看:359
本文介绍了访问被拒绝的Web服务问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我对这个论坛完全不熟悉,如果这不是提出问题的合适地方,请耐心等待



我正在尝试使用SOAP UI 5.2.1测试Web服务。



创建一个SOAP项目并添加了WSDL但是当我通过输入输入参数测试服务时,我收到访问被拒绝错误。



已在部署了Web服务的同一服务器中安装了SOAP UI 。



我们非常感谢任何帮助





这是错误日志



-------------------------------- -----------------------------

活动代码:3005

活动消息:发生了未处理的异常。

活动时间:2016/3/27 7:21:30

活动时间(UTC):2016年3月27日1 :51:30 AM

活动编号:2cd853bc553340288de4f32f9426c2f1

活动顺序:4

活动现场:1

活动细节c ode:0



申请信息:

申请域名:/ LM / W3SVC / 1 / ROOT / IntegrationServices-1-131035170822874864
信任级别:完整

应用程序虚拟路径:/ IntegrationServices

应用程序路径:C:\Program Files \ICE\IntegrationServices \

机器名称:ICETest



流程信息:

流程ID:5536

流程名称:w3wp.exe

帐户名称:NT AUTHORITY \SYSTEM



异常信息:

例外类型:HttpException

异常消息:在发送HTTP标头后服务器无法追加标头。



请求信息:

请求URL:http://ICETest/IntegrationServices/MI_EQUIP000.asmx

请求路径:/IntegrationServices/MI_EQUIP000.asmx

用户主机地址:197.148.44.123

用户:

经过身份验证:错误

身份验证类型e:

线程帐户名称:NT AUTHORITY \SYSTEM



主题信息:

主题ID:3

线程帐户名称:NT AUTHORITY \SYSTEM

冒充:False

堆栈跟踪:at System.Web.HttpResponse.AppendHeader(String名称,字符串值)

at Meridium.Integration.Services.BasicAuthenticationModule.OnEndRequest(Object sender,EventArgs e)

at System.Web.HttpApplication.SyncEventExecutionStep.System.Web .HttpApplication.IExecutionStep.Execute()

在System.Web.HttpApplication.ExecuteStep(IExecutionStep step,Boolean&已完成同步)





自定义活动详情:







问候,

Prasanth



我尝试过:



将IIS的身份验证更改为匿名

Hi All,

I'm totally new to this forum, kindly bear me if this is not the right place to ask questions

I am trying to test a web service using SOAP UI 5.2.1.

Crated a SOAP project and added the WSDL but when I'm testing the service by entering the input parameters , I'm getting access denied error .

Have installed SOAP UI in the same server where web service is deployed .

Any help will be really appreciated


Here is the error log

-------------------------------------------------------------
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/27/2016 7:21:30 AM
Event time (UTC): 3/27/2016 1:51:30 AM
Event ID: 2cd853bc553340288de4f32f9426c2f1
Event sequence: 4
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/ROOT/IntegrationServices-1-131035170822874864
Trust level: Full
Application Virtual Path: /IntegrationServices
Application Path: C:\Program Files\ICE\IntegrationServices\
Machine name: ICETest

Process information:
Process ID: 5536
Process name: w3wp.exe
Account name: NT AUTHORITY\SYSTEM

Exception information:
Exception type: HttpException
Exception message: Server cannot append header after HTTP headers have been sent.

Request information:
Request URL: http://ICETest/IntegrationServices/MI_EQUIP000.asmx
Request path: /IntegrationServices/MI_EQUIP000.asmx
User host address: 197.148.44.123
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\SYSTEM

Thread information:
Thread ID: 3
Thread account name: NT AUTHORITY\SYSTEM
Is impersonating: False
Stack trace: at System.Web.HttpResponse.AppendHeader(String name, String value)
at Meridium.Integration.Services.BasicAuthenticationModule.OnEndRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Custom event details:



Regards,
Prasanth

What I have tried:

Changing the authentication at IIS to Anonymous

推荐答案

部署中可能存在问题。

按照以下步骤操作。



1.转到iis

2.选择已部署的Web服务。

3.转到基本设置

4.选择Connect As

5.提供管理员凭证。
Problem may in your deployment.
follow below steps.

1. go to iis
2. select web service that you have already deployed.
3. go to basic settings
4. select "Connect As"
5. provide your administrator credential.


这篇关于访问被拒绝的Web服务问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆