I have a web service with SoapExtensions that read and modify the
content of the SOAP message both in the request and in the response.
I want to insert an element of routing to redirect the message to
other servers (depending on fields in the message) after the input
modifications are done. The response of the other servers will also be
processed by my extensions. This means that the actual code in the web
service will not be reached, and all the processing will happen in the
router and the extensions. I want no (de)serialization, working just
on the XML.
I have seen that SOAP routing is done by overriding SoapHttpRouter but
even if I assign *.asmx to my router, the message goes to and from the
other servers without passing through my SoapExtensions.
Is there some component in WSE that allows to intercept the message
content (including HTTP headers) in both ways in a configured order
(so that the routing occurs after all my input ffilters and before all
my output filters).
I think that SoapFilter could be what I am looking for, but I'd like
to know if somebody has used it along SoapHttpRouter.
Thanks in advance
--
David Mediavilla
David Mediavilla - 05 Oct 2007 12:56 GMT
> I have a web service with SoapExtensions that read and modify the
> content of the SOAP message both in the request and in the response.
[quoted text clipped - 6 lines]
> router and the extensions. I want no (de)serialization, working just
> on the XML.
Perhaps I could use the ProcessRequestMessage and
ProcessResponseMessage to reproduce the processing done by my
SoapExtensions (this involves reading from the XML but also modifying
it.
Can that be done with SoapHttpRouter?
> David Mediavilla
--
David Mediavilla