Why does XSD.EXE Create Two .XSD Files, and How to Use Them?

前端 未结 4 1546
走了就别回头了
走了就别回头了 2020-12-17 02:20

I am using the following command to generate related xsd file from my input XML file -- response.xml, my confusion is (1) why there are two xsd file output (response.xsd and

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-17 02:49

    The reason why two files are getting generated is because your XML contains two XML namespaces; each generated XSD corresponds to a namespace. The one for the soap envelope namespace imports the mycorp namespace (which you can see from the xs:import element).

提交回复
热议问题