I trying to build a service that responds to an XML request from an application with an XML document in C#.
After creating an asmx service that took in parameters I found out that the application (which is a black box and I only now the format of the data sent and what needs to be received) is sending an XML Payload.
Google is only giving me hints and I'm not sure how I should implement the service. Does it sound like I should create a ReSTful service? Does an XML Payload get delivered as a stream rather than parameters as seems to be the case?
I would build the solution using WCF instead; take a look at this article on MSDN as a starting point.
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.