SoapUI - WSHttpBinding - Windows Auth

时间:2014-07-04 02:14:26

标签: web-services wcf web automated-tests soapui

我试图调用具有wshttpbinding的Web服务,该服务需要Windows身份验证。我们已经成功地使用其他工具和下面的配置来调用该服务,但是我在设置SoapUI以对服务进行身份验证时遇到了问题。我不断收到由于安全性无效而无法处理邮件的响应。有没有人有SoapUI的经验,并能够设置工具来调用需要Windows凭据,委托和服务器标识的服务,如下所示

<protocols scenario="customBinding" uiType="customBinding" xmlns="http://hp/ServiceTest/config">

  <mode>Private</mode>
  <customization>
    <textMessageEncoding />

     <security authenticationMode="SecureConversation">
      <secureConversationBootstrap authenticationMode="SspiNegotiated" />
    </security>
    <httpTransport authenticationScheme="Negotiate" />
  </customization>

  <identities>
    <server>
      <expectedUpn>***\STE1_SPM_EFI_SV</expectedUpn>
    </server>
    <client>
      <windowsCredentials allowedImpersonationLevel="Delegation">
        <username>testqa-gb</username> 
        <password>*********</password> 
        <domain>***</domain> 
    </windowsCredentials>  

    </client>    
  </identities>

</protocols>

0 个答案:

没有答案