Question

I am creating a custom SOAP parser for a C# project.

I would like to import libxml2 (a pure c library) to my project. Is this doable?

Are there any C# alternatives in .NET? Is there a C# port of libxml2?

Was it helpful?

Solution 2

You may have probably allready solved this but i will add this:

I was looking for the same thing and found out there is a nuGet package for libxml2

you might find this helpful.

OTHER TIPS

You can use standard XmlWriter and XmlReader from System.Xml namespace which internally use Microsoft Xml Parser which is pretty fast. You can even use DOM oriented acces with System.Xml.XmlDocument or System.Xml.Linq.XDocument. Even there is System.Runtime.Remoting.SoapServices class which help you with soap message.

If you want to consume some SOAP web service, than you can easily import it and visual studio will create strong typed object for you for free without any touch to the SOAP message. You can refer to: MSDN Consuming Web Services

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top