开发者

.NET 3.5 - Is there a SOAP Parser in the framework

开发者 https://www.devze.com 2023-02-11 00:45 出处:网络
Are there any SOAP parser classes within the .NET 3.5 framework? In summary I have a string that contains a SOAP mess开发者_运维技巧age, I need to be able to parse out various elements of the Envelop

Are there any SOAP parser classes within the .NET 3.5 framework?

In summary I have a string that contains a SOAP mess开发者_运维技巧age, I need to be able to parse out various elements of the Envelope and also extract the Body etc. At the moment I am doing this with xpaths. This works but if there is a better way of doing it I am all ears.


No, I don't believe there is any general-purpose SOAP parser in .NET.

I would either continue working with XPATH, or else use LINQ to XML. You may find it much easier than simple XPATH.

0

精彩评论

暂无评论...
验证码 换一张
取 消