c# - How to add/remove ports from WSDL service tag? -
i have created web service using c# wcf, hosted via iis. there settings hide/remove ports , make service tag this? settings on iis server, or in web service web.config file?
basically, how can choose make (or not make it) looks this?
<wsdl:service name="gameservice" /> clarification: know if there setting, in iis or web.config, allow either hide completely, or show of, configured ports.
additional questions: wsdl not read web.config file? iis generate wsdl, or service?
further clarification: attempt solve this question, has gone unanswered. question attempt simplify , rephrase receive possible solutions.
according msdn:
a servicedescription instance maps wsdl:service element. servicedescription instance contains collection of serviceendpoint instances each map individual wsdl:port elements.
so, should adding/removing serviceendpoint in order affect ports section in generated wsdl.
here description of serviceendpoints , there example can see how add/remove them. i'm not sure can have functional service without @ least 1 port.
hope helps.
Comments
Post a Comment