Answer the question
In order to leave comments, you need to log in
How to change port name in wsdl generated by asmx service?
Hello. While developing an integration service between two systems, I ran into the problem of service port naming.
In short: the service interface is generated from the provided wsdl using the wsdl.exe utility, and then implemented using the asmx web service, inheriting the generated interface. After that, some wsdl xml construct is generated, in which there is a service description section:
<wsdl:service name="MyService">
<wsdl:port name="MyServiceSoapBinding" binding="tns:MyServiceSoapBinding">
<soap:address location="localhost"/>
</wsdl:port>
</wsdl:service>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question