Answered by:
WCF Error "SOAP security negotiation with"

Question
-
I have a client Windows's Form that calls a Windows' Service using WCF and wsHttpBinding. I have tested it on my desktop and it works. It does not work on my work network server, even when both the Client and Server applications are installed on the Windows 2003 Standard Server. I have included the Client Config and Service Config.
I have a trace, but it is too large to include here.Any direction would be appreciated.
Dave
Client Config:
?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="WSHttpBinding_Dppari01" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="Message">
<transport clientCredentialType="Windows" proxyCredentialType="None"
realm="" />
<message clientCredentialType="Windows" negotiateServiceCredential="true"
algorithmSuite="Default" establishSecurityContext="true" />
</security>
</binding>
</wsHttpBinding>
</bindings>
<client>
<endpoint address="http://UAFCQASRV21:123/DataPumpService/Uadwcp00"
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_Dppari01"
contract="Dppari01" name="WSHttpBinding_Dppari01">
<identity>
<servicePrincipalName value="host/Htsmbl01.uafc.corp" />
</identity>
</endpoint>
</client>
<!-- Diagnostics-->
<diagnostics>
<messageLogging maxMessagesToLog="30000"
logEntireMessage="true"
logMessagesAtServiceLevel="false"
logMalformedMessages="true"
logMessagesAtTransportLevel="true">
</messageLogging>
</diagnostics>
</system.serviceModel>
<!-- System Diagnostics-->
<system.diagnostics>
<sources>
<source name="System.ServiceModel" switchValue="Warning, ActivityTracing" >
<listeners>
<add name="xml" />
</listeners>
</source>
<source name="System.ServiceModel.MessageLogging" switchValue="Warning">
<listeners>
<add name="xml" />
</listeners>
</source>
</sources>
<sharedListeners>
<add name="xml" type="System.Diagnostics.XmlWriterTraceListener" initializeData="Server.svclog" />
</sharedListeners>
<trace autoflush="true" />
</system.diagnostics>
</configuration>
Windows Service Config:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<services>
<service name="UAFC.WindowsService.DataPump.Uadwcm01"
behaviorConfiguration="Uadwcp01ServiceBehavior">
<host>
<baseAddresses>
<add baseAddress="http://localhost:123/DataPumpService/Uadwcp00>
</baseAddresses>
</host>
<endpoint address=""
binding="wsHttpBinding"
contract="UAFC.WindowsService.DataPump.Dppari01" /><endpoint address="mex"
binding="mexHttpBinding"
contract="IMetadataExchange" />
</service>
</services><!--For debugging purposes set the includeExceptionDetailInFaults attribute to true-->
<behaviors>
<serviceBehaviors>
<behavior name="Uadwcp01ServiceBehavior">
<serviceMetadata httpGetEnabled="True"/>
<serviceDebug includeExceptionDetailInFaults="True" />
</behavior>
</serviceBehaviors>
</behaviors>
<!-- Diagnostics-->
<diagnostics>
<messageLogging maxMessagesToLog="30000"
logEntireMessage="true"
logMessagesAtServiceLevel="false"
logMalformedMessages="true"
logMessagesAtTransportLevel="true">
</messageLogging>
</diagnostics>
</system.serviceModel>
<!-- System Diagnostics-->
<system.diagnostics>
<sources>
<source name="System.ServiceModel" switchValue="Warning, ActivityTracing" >
<listeners>
<add name="xml" />
</listeners>
</source>
<source name="System.ServiceModel.MessageLogging" switchValue="Warning">
<listeners>
<add name="xml" />
</listeners>
</source>
</sources>
<sharedListeners>
<add name="xml" type="System.Diagnostics.XmlWriterTraceListener" initializeData="Server.svclog" />
</sharedListeners>
<trace autoflush="true" />
</system.diagnostics>
</configuration>- Moved by Feng Chen Thursday, June 12, 2008 7:49 AM WCF issue, not VSX related.
Wednesday, June 11, 2008 6:13 PM
Answers
-
Your issue is not VSX related, try to post it in Windows Communication Foundation ("Indigo") to get better answers.
Thanks!
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, May 10, 2012 6:40 AM
Thursday, June 12, 2008 7:49 AM -
- Proposed as answer by Ed Price - MSFTMicrosoft employee Thursday, May 10, 2012 6:41 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, May 10, 2012 6:41 AM
Thursday, May 10, 2012 6:40 AM
All replies
-
Your issue is not VSX related, try to post it in Windows Communication Foundation ("Indigo") to get better answers.
Thanks!
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, May 10, 2012 6:40 AM
Thursday, June 12, 2008 7:49 AM -
- Proposed as answer by Ed Price - MSFTMicrosoft employee Thursday, May 10, 2012 6:41 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, May 10, 2012 6:41 AM
Thursday, May 10, 2012 6:40 AM