| <?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 lang="en-us" xml:lang="en-us"> |
| <head> |
| <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> |
| <meta name="copyright" content="Copyright (c) 2000, 2006 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" /> |
| <meta name="DC.rights.owner" content="(C) Copyright 2000, 2006" /> |
| <meta content="public" name="security" /> |
| <meta content="index,follow" name="Robots" /> |
| <meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' /> |
| <meta content="task" name="DC.Type" /> |
| <meta name="DC.Title" content="Validating WSDL files" /> |
| <meta name="abstract" content="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." /> |
| <meta name="description" content="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." /> |
| <meta content="WSDL, validating, Web services, validating WSDL" name="DC.subject" /> |
| <meta content="WSDL, validating, Web services, validating WSDL" name="keywords" /> |
| <meta scheme="URI" name="DC.Relation" content="../../org.eclipse.jst.ws.doc.user/concepts/cwsdl.html" /> |
| <meta scheme="URI" name="DC.Relation" content="../../org.eclipse.jst.ws.doc.user/concepts/cwsiover.html" /> |
| <meta scheme="URI" name="DC.Relation" content="../../org.eclipse.jst.ws.doc.user/tasks/twsicomply.html" /> |
| <meta content="XHTML" name="DC.Format" /> |
| <meta content="twsdlval" name="DC.Identifier" /> |
| <meta content="en-us" name="DC.Language" /> |
| <link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" /> |
| <title>Validating WSDL files</title> |
| </head> |
| <body id="twsdlval"><a name="twsdlval"><!-- --></a> |
| |
| |
| <h1 class="topictitle1">Validating WSDL files</h1> |
| |
| |
| |
| |
| <div><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> |
| |
| <div class="section"><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</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 WSDL |
| Validator check box in the Build column 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> |