A third party wishes to send us SOAP messages.
It is necessary that everything between the <s:Body></s:Body>
element in our response is under our control.
After a few 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 a way around this using WCF? Or is there a better, different altogether approach?
尝试将其定义为裸服务:
[SoapDocumentService(Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Bare)]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.