| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE html |
| PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html> |
| <head> |
| <!-- /******************************************************************************* |
| * Copyright (c) 2000, 2005 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ --> |
| <link rel="stylesheet" type="text/css" href="../../org.eclipse.wst.doc.user/common.css" /> |
| <title>Validating WSDL files</title> |
| </head> |
| <body id="twsdlval"><a name="twsdlval"><!-- --></a> |
| |
| <h1 class="topictitle1">Validating WSDL files</h1> |
| <div><div class="section"><p>If you have created a WSDL file through the Web services wizard |
| the WSDL that is generated should be valid. However, if you have imported |
| a WSDL file, or if you are creating a WSDL file, you should validate the WSDL |
| to ensure it is valid.</p> |
| <p>If you have selected Require or Suggest WS-I |
| Compliance on the WS-I Compliance preference page, the validation also checks |
| WS-I compliance. If you have selected Ignore WS-I Compliance the validator |
| will only check the validity of the WSDL. For more information on setting |
| WS-I compliance levels, refer to: <a href="../../org.eclipse.jst.ws.doc.user/tasks/twsicomply.html"> Setting the level of WS-I compliance</a>.</p> |
| <p>The WSDL |
| Validator compares the WSDL file in your project to the W3C <a href="http://www.w3.org/TR/wsdl" target="_blank">Web Services Description |
| Language (WSDL) 1.1</a> specifications, and the WS-I compliance settings |
| that you have selected.</p> |
| <p>To validate your WSDL, complete the following |
| steps:</p> |
| </div> |
| <ol><li><span>Select a WSDL file in the <strong>Project Navigator</strong> view.</span></li> |
| <li><span>Right-click the WSDL file, and select <strong>Validate WSDL file.</strong></span></li> |
| </ol> |
| <div class="section">Any problems encountered while validating the file will be shown in |
| the <strong>Tasks</strong> view.<p>When you rebuild a project or save a resource, the |
| WSDL Validator can be set to run automatically. To do this, from the Window |
| menu, select <strong>Preferences</strong> > <strong>Validation</strong>. Ensure that the check |
| box beside WSDL Validator is selected.</p> |
| </div> |
| </div> |
| <div> |
| <div class="linklist"><strong>Related Concepts</strong><br /> |
| |
| <div><a href="../../org.eclipse.jst.ws.doc.user/concepts/cwsdl.html">WSDL</a></div> |
| <div><a href="../../org.eclipse.jst.ws.doc.user/concepts/cwsiover.html">WS-I</a></div></div> |
| |
| <div class="linklist"><strong>Related Tasks</strong><br /> |
| |
| <div><a href="../../org.eclipse.jst.ws.doc.user/tasks/twsicomply.html">Setting WS-I compliance</a></div></div> |
| </div> |
| </body> |
| </html> |