In .Net the tool of choice to parse WSDLs and turn them into code has mostly been Svcutil.exe.
Not sure which version this is, but here you can find the source code of the project. You could study it and see where it parses the WSDL structure to get the data you are after.
And there is also the option to parse the WSDL as XML (using a DOM, XSLT, etc.) and go for the elements that you want, knowing the structure of a WSDL file is standard and defined by various specifications.
发布评论
评论(1)
In .Net the tool of choice to parse WSDLs and turn them into code has mostly been
不确定这是哪个版本,但是在这里您可以找到您可以找到项目的源代码。您可以研究它,看看它解析了WSDL结构以获取所追求的数据。
而且还有选项可以将WSDL解析为XML(使用DOM,XSLT等),并了解所需的元素,了解WSDL文件的结构是标准的,并由各种规格定义。
In .Net the tool of choice to parse WSDLs and turn them into code has mostly been Svcutil.exe.
Not sure which version this is, but here you can find the source code of the project. You could study it and see where it parses the WSDL structure to get the data you are after.
And there is also the option to parse the WSDL as XML (using a DOM, XSLT, etc.) and go for the elements that you want, knowing the structure of a WSDL file is standard and defined by various specifications.