Make WCF 4 WSDL look like Web Service WSDL? -


i have ancient web service client needs talk wcf 4.0 service. client large old system in company not going change. have new clients needs wcf functionality, have it, more work needed support old client.

i have decorated several parts of wcf service attributes, , lot of emitted wsdl looks web service ancient client used call. have few more parts don't legacy stuff. can make new server old?

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 change wcf service ws one... help?

thanks!

create httpmodule handles beginrequest, using attach response filter when wsdl asked (request["wsdl"] != null). response filter class write inherits memorystream, alter response appropriately.

add reference writing response filter can found @ http://www.4guysfromrolla.com/articles/120308-1.aspx


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -