Last post Oct 02, 2017 02:00 PM by PatriceSc
Sep 29, 2017 10:27 PM|talldaniel|LINK
I need to send XML to a home grown web server on port 80 that "sort of kind of" understands XML serialization. Will eventually need to be able to write to many of them at the same time. (up to 1000)
The HTTP protocol for the home grown server is tight and not an issue, but I will need to use their library for the XML parsing and serialization.
What library/approach for web should I use for the HTTP communication?
Sep 30, 2017 04:09 PM|mgebhard|LINK
I would use the HttpClient.
Oct 02, 2017 02:04 AM|Edward Z|LINK
Did the suggestion from mgebhard work for you? If not, it would be helpful if you could share us your current issue.
I suggest you try another option “WebClient”.
# Send XML via HTTP Post to IP:Port
Oct 02, 2017 01:37 PM|talldaniel|LINK
I will try this today and let you know.
Oct 02, 2017 02:00 PM|PatriceSc|LINK
I would use HttpClient as well (not sure what you are using on the server side). In particular you have extension methods to handle JSON or XML serialization for you so if done properly your only concern should be to post objects and serialization/deserialization
could be done for you...