Negative ConformsTo = WsiProfiles.None Implications in C # Web Services

I am adding method overloading to an asmx web service written in C #, and to publish it I need to change the WebServiceBinding attribute of the service above. Doing this seems pretty harmless (the web service will only be consumed by applications written in-house, at least for the foreseeable future), but are there some missing consequences of this choice?

+3
source share
2 answers

Just to wrap things up here (after @Niklas's request), I decided that worrying about it too much on a web service based only on internal look is micro-optimization.

, , , WSDL , ( ), WS- , , .

0

To implement method overloading in webservices first you must set the MessageName
attribute of your webservice then set your webservice binding ConformsTo 
attribute to WsiProfiles.None and that’s it! Note that you can do second step 
in your Web.Config file for all webservices.
( ).
+1

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


All Articles