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
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).