Forum Discussion

manips1985's avatar
manips1985
Established Member
8 years ago

soap ui error while using wcf with wshttpbinding for Kerberos authentication

Hi,

 

Using Soap UI as a client accessing the WCF service with the wshttpbinding with the below configuration:

<wsHttpBinding>

<binding name="Binding1" receiveTimeout="00:30:00" sendTimeout="00:30:00" closeTimeout="00:30:00" openTimeout="00:30:00" maxReceivedMessageSize="2147483647" maxBufferPoolSize="2147483647">

<security mode="TransportWithMessageCredential">

<message clientCredentialType="Windows" negotiateServiceCredential="false" establishSecurityContext="false" />

</security>

 

</binding>

</wsHttpBinding>

 

We need to authenticate using the Kerberos token but we are getting the below error:

 <s:Fault>
         <s:Code>
            <s:Value>s:Sender</s:Value>
            <s:Subcode>
               <s:Value xmlns:a="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">a:InvalidSecurity</s:Value>
            </s:Subcode>
         </s:Code>
         <s:Reason>
            <s:Text xml:lang="en-GB">An error occurred when verifying security for the message.</s:Text>
         </s:Reason>
      </s:Fault>

I tried the following way from the websites such as :

1.wss-passwordtype to passwordtext

2.https://www.soapui.org/soap-and-wsdl/spnego/kerberos-authentication.html ,I referred thi ssite and made all the changes.

 

But nothing works. Can you please help to fix this issue.

 

No RepliesBe the first to reply