Is WCF the right approach for this generic SOAP message?

A third party wishes to send us SOAP messages.

It is necessary that everything that was between the <s:Body></s:Body> element in our answer is under our control.

After several hours of research, it seems that WCF messages will wrap the response in an xml element with the name of the WCF method.

Is there any way around this with WCF? Or is there a better, great approach?

+4
source share
1 answer

Try defining it as an unclosed service:

 [SoapDocumentService(Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Bare)] 
+2
source

Source: https://habr.com/ru/post/1490660/


All Articles