I am implementing a wsdl-based web service that is provided by another company. I need to implement a web stub for testing. Therefore, I used wsdl.exe to create client and server interfaces and their implementation. When I make a webservice call, I get an exception saying that the methods method1 and method2 use the same SOAPAction. '' Looking at wsdl shows that two methods do not provide soapaction
<operation name="method1"> <soap:operation soapAction=""/> ... </operation> <operation name="method2"> <soap:operation soapAction=""/> ... </operation>
An exception occurs when a client connects to a stub web service, when I do not connect to a real web service.
Is there a way to configure / implement a webservice stub to ignore the soapAction header?
source share