WSE 2.0 Routing to existing asmx web services
Reading Steve Maine's routing adventures, I was thinking a way to route WS-I BP soap envelopes to standard asmx web services.
Why? To expose standard WS-I ws to the internet, maintaining existing services already developed in our lan.
I found two possible ways:
- Adapt soap evelopes and forward to the asmx sevices throught SoapSender.Send() (I don' know if it is possible, due WSE 2.0 differences)
- Using DynWSLib from Christian Weyer, ie composing a dynamic soap request, with the information found in the coming soap request ( Is there a way to cache dynamic compiled proxy code generated at runtime with the CodeDom? )
Wich is the best way? Is there a simpler solution?
In the meanwhile I found SoapHttpRouter don't pass url parameters like the classic ?WSDL ..