Caution notice WCF noobie
I need to create a WCF client to request a web service that does not use WCF. The web service is not a WCF service. In addition, the web service requires a client authentication certificate. Now I have a certificate and you can create a client that is not WCF, which works fine; I was able to “Add Web Link” and the certificate dialog box opened so that I could select the appropriate certificate and then created the web link. Attempting to create a WCF client using the “Add Service Link” is another story; it just fails with the "Access Error" 403 error.
I have a WSDL for the service and the svcutil.exe file is running on it, but I'm not sure how from there from there.
Thanks for any help!
I assume that the service you are using is performing SSL client authentication.
Since the link to the service is not working, you can use svcutil to create the client from the WSDL file that you have. I think the syntax would be something like this:
svcutil *.wsdl /l:C# /out:Reference.cs /config /s /ct:System.Collections.Generic.List`1 /ser:Auto /tcv:Version35 /n:*,<NameOfYourNamespaceHere> /edb
Reference.cs, ( ). . , output.config. , .
MSDN, . , , , .
.
, , , , Add service WSDL, . . :
, WSDL, XSD , . , " " "", .
(): , , , WSDL (, , XSD)? , , ( )?
, WSDL ( XSD) , WCF- ( svcutil.exe Add Service Reference) , .
svcutil.exe
Add Service Reference
... ( $0,02?)
Source: https://habr.com/ru/post/1715256/More articles:VB6: expanding the number of items in a combo box - vb6CAShaperLayer -renderInContext not working? - iphonePerformance: compiling in VS, running in mono on Windows and Linux - performancetips for building my first e-commerce site - e-commerceWhat do I need to know about dynamic programming? - javaJavaScript error - Invalid property value - javascriptjQuery AJAX: how to add a "SAVED" message and make it disappear after the second - jqueryHow does Facebook generate offers? - facebookmemory management in blackberry - memory-managementЭквивалент метки LaTeX\и\ref в HTML - htmlAll Articles