Web Services Description Language (WSDL) is an XML format for describing Web services that enable host-to-host communication over a network. WSDL definitions are comprised of endpoints that receive messages and, when needed, reply with messages. The XML Schema Datatype (XSD) specification describes the data requirements of a Web service. In short, the WSDL describes the functions and method calls supported by the Web service, and the XSD describes the data. It is often necessary to extract the XSD details from a WSDL to provide to developers or maintainers of the remote end of your host-to-host communication, which in turn facilitates XML schema validation using the XSD file.
Launch the Windows text editor by clicking the "Start" menu in the lower left corner of the desktop followed by "Run..." Enter "notepad" in the text field, and then click "OK."
Choose "File" followed by "Open" from the "Notepad" menu bar. Navigate to the location of your WSDL file, highlight the file with your mouse and click "OK" to open.
Search the document by clicking "Edit" followed by "Find" to identify the first occurrence of the XML tag "
Search again to locate the closing XML tag "." This marks the end of the XSD portion of the WSDL file. By clicking on
Copy the selected portion of the document beginning with "
Click "File" followed by "New" to create a new file.
Paste the XSD portion of the document from Step 4 into the new file by clicking "Edit" followed by "Paste" from the "Notepad" menu.
Save the new file by clicking "File" followed by "Save as..." from the menu. The new file is now a candidate for sharing with fellow Web service authors who are required to validate against the XSD schema extracted from the WSDL.
Things you need
- Text editor
- WSDL file