Is there a way to change the way asp.net elements are created in the WSDL generated from the .asmx file? In particular, it seems that all elements minoccurs = "0" are marked, and there are some elements that I want to be minoccurs = "1" (aka required fields).
One of them is the web service argument (for example, foo (arg1, arg2), where I want arg2 to be generated in WSDL as minoccurs = "1"), the other is a specific field in the class that matches arg1. Should I abandon the automatic generation of WSDL and use the "first contract"?
source
share