WCF Message Inspectors

we have an outdated middleware application and we want to implement a WCF adapter for it. let's say while we will consume only WCF service. middleware is capable of processing XML messages. we would like to receive the xml message from middleware, forward it to the WCF client. after receiving the response, we would like to respond to the middleware with xml response.

Below are some of our concerns that we would like to explore.

  • we should be able to send raw xml instead of calling WCF based on the object
  • after receiving the xml after all the WCF layers (this is important, since the xml checks should already be performed in accordance with the contract), we will redirect it to the middleware.
  • our middleware implements classic web services, but there are various problems with the datacontract data serializer. one of them is object references. since we can already see that the object reference is saved using the id attribute in the xml element. how could we say that. are there any additional things we can consider for a data serializer.
  • Middleware is worried about the original message itself. we would like other message-related properties, such as SOAP, WS-Security, etc., to be handled by the WCF proxy itself.
  • Does anyone know how the Biztalk adapter for WCF works.

Any feedback would be appreciated.

+3
source share
1 answer

1) , , POX ( XML). WCF WebHttpBinding. .

, "raw XML", WCF , , , XML-, SOAP-. WCF , , - POX, WCF XML . , . WCF .

2) WCF, , WCF - ( ). WCF WCF , , , . WCF "" , .

4) . WCF , - .

, .:)

+1

All Articles