Using WSDL to send and receive in C #

  • You are provided with a WSDL and a sample soap message, is there a good tutorial or sample code when using this WSDL to use a web service? Does WSDL match a specific format for which it can be used correctly? I remember the Java web service that I changed some tags and attributes to make it work, is there a general agreement for the formatting used in WSDL?

  • I think this can be trickier than # 1. You are provided with WSDL and a sample soap message. Is it possible to use WSDL rather than WSDL generated by a C # web service when exposing a web service? Is there a way to "override" the WSDL of a web service on this web service? Are there any conflicts in WSDL formatting and compatibility that should be considered?

+3
source share
1 answer

- svcutil , WSDL. , . .NET, SOAP .

, , ,

svcutil myRemoteService.wsdl

[servicename].CS output.config, WCF.

, , WSDL, , . , , , WSDL.

+1

Source: https://habr.com/ru/post/1708704/


All Articles