检查WSDL文件。检查Web服务时我收到错误。提供了wsdl文件和身份验证详细信息 [英] Checking WSDL file. while checking web service i am getting an error. The wsdl file and authentication details are provided

查看:290
本文介绍了检查WSDL文件。检查Web服务时我收到错误。提供了wsdl文件和身份验证详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好......



我的机器上有一个WSDL文件。我试图在SoapUI工具的帮助下测试Web服务。



采取的步骤。

1.在SoapUI中打开新项目给出项目名称并给出wsdl文件的路径并单击确定



2.服务请求身份验证,我提供了它,项目已成功添加到SoapUI。它列出了服务提供的功能



3.一个函数Ge​​tApplicant显示在SoapUI的左侧,并以正确的格式获取xml。



4.尝试使用某些测试数据时会返回以下错误





此请求需要HTTP身份验证()。



获取应用程序XML如下所示





Hello...

I have a WSDL file in my machine. I am trying to test the web service with the help of the tool SoapUI.

Steps Taken.
1. Opened new project in SoapUI given project name and given the path of the wsdl file and clicked ok

2. The service request authentication and I provided it and the project is successfully added to SoapUI. It lists the functions provided by the service

3. A function GetApplicant is Shown in the left of SoapUI and get the xml in proper format.

4. When tried with some test data it returns the following error


"This request requires HTTP authentication ()."

The get application XML is given below


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.mcint/">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:getApplicant>
         <!--Optional:-->
         <id>1000001405</id>
      </ws:getApplicant>
   </soapenv:Body>
</soapenv:Envelope>

推荐答案

检查一下。它可能对你有帮助

http://www.soapui。 org / SOAP-and-WSDL / authenticating-soap-requests.html [ ^ ]
Check this. It might help you
http://www.soapui.org/SOAP-and-WSDL/authenticating-soap-requests.html[^]


这篇关于检查WSDL文件。检查Web服务时我收到错误。提供了wsdl文件和身份验证详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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