Make WCF 4 WSDL look like WSDL web service?

I have a vintage web services client who needs to talk to my WCF 4.0 service. A client is a big old system in another company that will not change. We have new clients who need WCF functionality, so we have this, but now we need one more work to support the old client.

I have decorated several parts of the WCF service with attributes, and many of the WSDLs released look like the web service that the ancient client used to call. I have a few more parts that don't look like old things. Where can I see to make the new server look like the old one?

The old (web service) system has:

<wsdl:portType name="QueueServiceSoap">
<wsdl:operation name="SubmitRequest">
<wsdl:input message="tns:SubmitRequestSoapIn"/>
<wsdl:output message="tns:SubmitRequestSoapOut"/>
</wsdl:operation>
</wsdl:portType>

The new (WCF service) system has:

<wsdl:portType name="QueueServiceSoap">
<wsdl:operation name="SubmitRequest">
<wsdl:input wsaw:Action="https://test.com/SubmitRequest" message="tns:QueueServiceSoap_SubmitRequest_InputMessage"/>
<wsdl:output wsaw:Action="https://test.com/QueueServiceSoap/SubmitRequestResponse" message="tns:QueueServiceSoap_SubmitRequest_OutputMessage"/>
</wsdl:operation>
</wsdl:portType>

I need to change the WCF service to look like WS one ... Help?

Thank!

+3
1

HttpModule, BeginRequest, , WSDL (Request["WSDL"] != null). , , MemoryStream, .

http://www.4guysfromrolla.com/articles/120308-1.aspx

0

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


All Articles