title: How can i convert wsdl to XSD type format?
body: <p>I am having XML in wsdl format, now i want to change it's encoding to the format XSD format. Do i need to make some changes in web config, or what i will have to do please suggest me.
  below is the Example</p>
  
  <pre><code>&lt;wsdl:definitions name="LoginCheck"
                    targetNamespace="http://tempuri.org/"&gt;
      &lt;wsdl:types&gt;
          &lt;xsd:schema targetNamespace="http://tempuri.org/Imports"&gt;
              &lt;xsd:import schemaLocation="http://192.168.0.6:8000/LoginCheck.svc?xsd=xsd0"
                          namespace="http://tempuri.org/"/&gt;
              &lt;xsd:import schemaLocation="http://192.168.0.6:8000/LoginCheck.svc?xsd=xsd1"
                          namespace="http://schemas.microsoft.com/2003/10/Serialization/"/&gt;
  </code></pre>
  
  <p>and I want to convert it to format like below</p>
  
  <pre><code>&lt;definitions targetNamespace="urn:saveCharacterAcc"&gt;
      &lt;types&gt;
          &lt;xsd:schema targetNamespace="urn:saveCharacterAcc"&gt;
              &lt;xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/&gt;
              &lt;xsd:import namespace="http://schemas.xmlsoap.org/wsdl/"/&gt;
              &lt;xsd:complexType name="Character"&gt;
                  &lt;xsd:all&gt;
                      &lt;xsd:element name="characterNumber"
                                   type="xsd:int"/&gt;
                      &lt;xsd:element name="byteArray"
                                   type="xsd:string"/&gt;
                      &lt;xsd:element name="rotationAngle"
                                   type="xsd:string"/&gt;
                      &lt;xsd:element name="charX" type="xsd:string"/&gt;
  </code></pre>