首页 \ 问答 \ 在测试Web服务时在SOAP UI中进行身份验证(Authentication in SOAP UI while testing web services)

在测试Web服务时在SOAP UI中进行身份验证(Authentication in SOAP UI while testing web services)

我正在使用SOAP UI来测试Web服务。 在“身份验证”选项卡中,我输入了用户名和密码以及域名。

Sample:
WSDL URL: http://localhost:8080/soap/helloTest?wsdl

Username:hello
pass:helloworld
domain: http://mysysfullname:8080

我已经给出了正确的凭据。 我还将域名替换为http://localhost:8080

即便如此,我只会获得无效凭据。 用户名和密码是正确的,它们不是我的Windows凭据。

有人可以帮助如何提供凭据。

Adding Raw Request
POST http://localhost:8080/soap/helloTest HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: ""
User-Agent: Jakarta Commons-HttpClient/3.1
Host: localhost:8080
Content-Length: 1004

谢谢。


I am using SOAP UI for testing the web services. In the Authentication tab, I have entered the username and password and domain name.

Sample:
WSDL URL: http://localhost:8080/soap/helloTest?wsdl

Username:hello
pass:helloworld
domain: http://mysysfullname:8080

I have given the correct credentials. I also replaced domain as http://localhost:8080.

Even then I am getting invalid credentials only. The username and password are correct and they are not my windows credentials.

Can some one help how to give the credentials.

Adding Raw Request
POST http://localhost:8080/soap/helloTest HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: ""
User-Agent: Jakarta Commons-HttpClient/3.1
Host: localhost:8080
Content-Length: 1004

Thanks.


原文:https://stackoverflow.com/questions/14377550
更新时间:2023-07-25 16:07

最满意答案

这称为最近邻搜索问题。 您可以查看提及更快算法的Wiki文章 。 似乎用R-Tree进行空间分区是最好的方法。


This is called the nearest neighbor search problem. You can have a look at the Wiki article which mentions faster algorithms. It seems that space partitioning with an R-Tree is the best approach.

相关问答

更多
  • 似乎getSpeed()方法并不总是可靠的,特别是在低速和gps覆盖率不是最佳时。 你可以看看这个问题 , 这个问题都是关于getSpeed()的替代方法。 然而, android developper页面表示,使用Google Location API可以获得更好的性能。 所以看来,选择取决于你的应用的使用情况:如果你的目标是慢速移动的地区与GPS覆盖差(走在木头),使用你自己的实施。 具有良好GPS覆盖范围的区域速度很快,请使用Google Location API。 希望它对你有所帮助。 It see ...
  • 回答我的老问题.. 要请求连续更新,您需要将最小距离和最小更新时间设置为零。 然而,这会使设备电池更快耗尽,但您确信您可以从GPS硬件中获得最佳性能并过滤出您的条件。 这127 m / s ^ 2的确是android中的一个bug。 在审查了Google的mytracks GPS应用程序的代码后,我发现它已经注意到并在代码本身中过滤了127这种特殊情况! 是的,你不会得到没有速度的积分。 Answering my old question .. To request continous updates yo ...
  • 由于您已经有了一个位置列表,我的建议是,过滤从网络收到的位置数据。 速度是您可以用来过滤的因素之一。 您可以尝试其他方式进行过滤,例如错误方向的点或远离您的路径。 增加您的位置集合的频率。 来自网络位置数据的“准确度”值。 但要小心这一点。 大价值并不总是意味着不好的位置,而小的价值并不总是意味着良好的位置。 过滤后,您可以再次计算您的速度。 Since you already have a list of locations, my suggestion is that, filter your loca ...
  • 这称为最近邻搜索问题。 您可以查看提及更快算法的Wiki文章 。 似乎用R-Tree进行空间分区是最好的方法。 This is called the nearest neighbor search problem. You can have a look at the Wiki article which mentions faster algorithms. It seems that space partitioning with an R-Tree is the best approach.
  • 正如您已经建议的那样,您需要存储整个时间跨度的所有值。 原因在于你不知何故需要“忘记”旧值对移动平均线的贡献。 如果你不知道这些值在哪里(即,如果你不存储它们),那么你无法做到这一点。 在你的情况下,15分钟每秒1个值等于15 * 60 = 900个数据点,应该是OK。 请注意,每次更新时不需要对整个数组执行求和:您可以根据数据点数,新值以及此时“忘记”的值计算新的移动平均值: new_average = (n * old_average - x_forget + x_new) 在这里, n是数据点的数量 ...
  • 好吧,我想我会回到这个问题并给出我最好的机会,因为它没有看到任何其他解决方案。 不幸的是我现在无法测试代码,但我相信使用geopy和geographiclib可以解决您的问题。 开始。 从终端(可能与sudo) pip install geographiclib pip install geopy 现在用Python 获得当前位置 import geographiclib from geopy import geopy.distance # Get the first azimuth, which sh ...
  • 鉴于这些点之间的距离小于1 km, AND * ASSUMING *表示您没有非常接近北极或南极,线性插值可能已经足够好了。 在实际数据的实时测试中显示线性插值不够好之后,您可以尝试球形触发插值。 数学涉及。 如果这两个都不足,那么您将需要非常专业的专家协助。 Given that the distance between the points is less than 1 km, AND *ASSUMING* that you're not playing very close to the North ...
  • 使用GeoTools和Maven,它应该不会太难。 Maven将负责依赖。 幸运的是,您不需要整个Geotools套件来进行“无头”计算。 我希望这是你正在寻找的。 pom:
  • 首先阅读本文以了解如何获得GPS修复。 您可以在位置侦听器中的onLocationChanged()回调中调用getSpeed()。 First read this article to learn how to get GPS fixes. You can call getSpeed() in your location listener, in the onLocationChanged() callback.
  • 检查速度范围的条件总是错误的。 LAssuming delta和speed都是正值, speed总是小于(或等于) speed + delta ,所以 if!((speed <= speed + delta) & (speed >= speed - delta)) 第一个条件是speed <= speed + delta ,它始终为真。 同样, speed >= speed + delta总是如此,因此在括号内你总是得到true 。 接下来,您应用not运算符,因此总是会false 。 你必须这样: MA ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。