I'm completely stuck.
I got a web service on one machine. The web service got two "services" (or binding?) one normal "basicHttpBinding" and one "wsDualHttpBinding". I'm just adding the "wsDualHttpBinding", because I need that a message (a bool) send from a ASP.NET web form is send to my Winforms applications. I have only one user that use the web page, but up to 10 winforms user.
Since I'm reproducing the production environment, I'm stuck: the web page CANNOT connect to the "wsDualHttpBinding" web service. I try many help page, many tutorials, it don't work.
In fact, I think that my issue is that I don't understand why it require any kind of security...
I try to use different "clientCredentialType" but they ALL FAILED.
CLEANER TOPO:
thank you for your help!
You need to specify binding details of the same in server side configuration file,
have you already done that??
please refer original source link
I hope this may help :)
Without more specific details, such as error messages, it's hard to help. I suggest you add the following to all of your application's config files, as described in http://msdn.microsoft.com/en-us/library/ms733025.aspx
<configuration>
<system.diagnostics>
<sources>
<source name="System.ServiceModel"
switchValue="Information, ActivityTracing"
propagateActivity="true">
<listeners>
<add name="traceListener"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData= "c:\log\Traces.svclog" />
</listeners>
</source>
</sources>
</system.diagnostics>
</configuration>
This will then give you lots of trace data about exactly what is going on. I find this really useful in diagnosing WCF issues.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.