WCF and WS-Adressiong
I'm trying to access a WCF service via an intermediary that accepts and
forwards the request. This works fine using the basic http binding, but
using WsHttpBinding turns on WS-Addressing. Since the client is sending to
the intermediary, the wsa:To element contains the intermediary's URL. The
intermediary forwards the message verbatim to the target service, which
rejects it because was:To doesn't match its own URL. Back in WSE 3.0, you
could work around this by placing the [SoapActor] .attribute on the target
service, but I don't know if there's a WCF equivalent. It is not an option
to make the intermediary understand WS-Addressing.
So, is it possible to do any of the following?
1. Cause the client not to add WS-Addressing headers
2. Cause the service not to process the WS-Addressing headers
3. Cause the service to accept an alternate wsa:To address
4. Cause the client to send a different wsa:To address
By the way, if there's a resource that explains this stuff, feel free to
answer by pointing to it. I'm finding WCF distressingly opaque compared to
WSE, and something that could alleviate that would be most welcome.
date: Tue, 8 Jul 2008 10:09:12 -0700
author: Mike Schilling