| <html> |
| <head> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <link rel="stylesheet" href="../../default_style.css" type="text/css"> |
| <link rel="stylesheet" href="../../webtools/wtp.css" type="text/css"> |
| <title>eclipse web tools platform faq</title> |
| </head> |
| <body> |
| <table width="100%" cellspacing="5" cellpadding="2" border="0"> |
| <tbody> |
| <tr> |
| <td width="60%" align="left"><font class="indextop">eclipse web tools platform faq</font> |
| <br> |
| <font class="indexsub">frequently asked questions and answers</font></td><td width="40%"><img width="207" hspace="50" height="129" align="middle" src="../../webtools/images/wtplogosmall.jpg"></td> |
| </tr> |
| </tbody> |
| </table> |
| <table width="100%" cellspacing="0" cellpadding="2" border="0" bgcolor="#cccccc"> |
| <tbody> |
| <tr> |
| <td width="90%"><b><font size="+1" face="Arial,Helvetica" color="#000000"><a name="">About the FAQ</a></font></b></td><td align="right" width="10%"></td> |
| </tr> |
| </tbody> |
| </table> |
| <br> |
| Last updated: September 7, 2006<br> |
| <br> |
| <p> |
| <about xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| Many of the FAQ's found on this page have been pulled from the <a href="../community/community.html#help">WTP newsgroup</a>. Thank you to everyone that took |
| the time to answer these questions.<br/> |
| <br/> |
| Looking for FAQ's related to the development of WTP? See the <a href="CommitterFAQ.html">Committer FAQ</a>. |
| </about> |
| </p> |
| <p>For problems with this FAQ please open a <a href="https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Web%20Tools&component=FAQ">bug report</a>.</p> |
| <table width="100%" cellspacing="0" cellpadding="2" border="0" bgcolor="#cccccc"> |
| <tbody> |
| <tr> |
| <td width="90%"><b><font size="+1" face="Arial,Helvetica" color="#000000"><a name="toc">Table of Contents</a></font></b></td><td align="right" width="10%"></td> |
| </tr> |
| </tbody> |
| </table> |
| <ul> |
| <li> |
| <b>General</b> |
| <ol> |
| <li> |
| <a href="#about_1">How is the Eclipse Web Tools Platform licensed?</a> |
| </li> |
| <li> |
| <a href="#about_10">What is New and Noteworthy in WTP 1.0?</a> |
| </li> |
| <li> |
| <a href="#about_11">Where can I find a list of known problems with WTP 1.0?</a> |
| </li> |
| <li> |
| <a href="#about_12">Why am I getting a java.lang.OutOfMemoryError: PermGen space?</a> |
| </li> |
| <li> |
| <a href="#about_2">Who are the contributors to the Eclipse Web Tools Platform Project?</a> |
| </li> |
| <li> |
| <a href="#about_3">What version of Eclipse does WTP work with?</a> |
| </li> |
| <li> |
| <a href="#about_5">Which zip file should I download?</a> |
| </li> |
| <li> |
| <a href="#about_6">How do I install WTP?</a> |
| </li> |
| <li> |
| <a href="#about_7">Are there any WTP tutorials available?</a> |
| </li> |
| <li> |
| <a href="#about_8">What is New and Noteworthy in WTP 0.7?</a> |
| </li> |
| <li> |
| <a href="#about_9">Where can I find a list of known problems with WTP 0.7?</a> |
| </li> |
| </ol> |
| <br> |
| </li> |
| <li> |
| <b>Data Tools</b> |
| <ol> |
| <li> |
| <a href="#data_1">Where can I find the WTP Data Tools?</a> |
| </li> |
| </ol> |
| <br> |
| </li> |
| <li> |
| <b>J2EE</b> |
| <ol> |
| <li> |
| <a href="#j2ee_1">Where can I find the New J2EE Web Module wizard?</a> |
| </li> |
| <li> |
| <a href="#j2ee_2">Does the WTP include a visual JSP editor?</a> |
| </li> |
| <li> |
| <a href="#j2ee_3">How do I install XDoclet in WTP?</a> |
| </li> |
| <li> |
| <a href="#j2ee_4">What types of EJBs does WTP support?</a> |
| </li> |
| </ol> |
| <br> |
| </li> |
| <li> |
| <b>Server/Internet</b> |
| <ol> |
| <li> |
| <a href="#server_1">Where are cached files located?</a> |
| </li> |
| <li> |
| <a href="#server_2">How do I debug JSPs with BEA WebLogic Server 8.x?</a> |
| </li> |
| <li> |
| <a href="#server_3">How do I debug JSPs with Apache Tomcat 4.x?</a> |
| </li> |
| </ol> |
| <br> |
| </li> |
| <li> |
| <b>Web</b> |
| <ol> |
| <li> |
| <a href="#web_1">Why does the HTML editor show a validation error if I don't use closing </p> or </br> tags?</a> |
| </li> |
| <li> |
| <a href="#web_2">Does WTP's JavaScript editor report syntax errors?</a> |
| </li> |
| </ol> |
| <br> |
| </li> |
| <li> |
| <b>Web Services</b> |
| <ol> |
| <li> |
| <a href="#ws_1">Can the WSDL validator be extended to validate extension elements, for example partnerLinks and properties from the WS-BPEL specification?</a> |
| </li> |
| <li> |
| <a href="#ws_2">Why does WTP produce errors for multiple import statements for the same namespace in WSDL 1.1?</a> |
| </li> |
| </ol> |
| <br> |
| </li> |
| <li> |
| <b>XML</b> |
| <ol> |
| <li> |
| <a href="#xml_1">How do I use my own filename extensions in the XML editor? It only works correctly if a file ends with .xml.</a> |
| </li> |
| <li> |
| <a href="#xml_2">How do I programmatically add entries to the XML catalog?</a> |
| </li> |
| <li> |
| <a href="#xml_3">Why does the XML catalog preference dialog only show URI Key type entry when no file is selected?</a> |
| </li> |
| </ol> |
| <br> |
| </li> |
| </ul> |
| <table width="100%" cellspacing="0" cellpadding="2" border="0" bgcolor="#cccccc"> |
| <tbody> |
| <tr> |
| <td width="90%"><b><font size="+1" face="Arial,Helvetica" color="#000000"><a name="General">General</a></font></b></td><td align="right" width="10%"><a href="#toc">top</a></td> |
| </tr> |
| </tbody> |
| </table> |
| <ol> |
| <li> |
| <a name="about_1"><b>How is the Eclipse Web Tools Platform licensed?</b></a> |
| <br> |
| <br> |
| The Eclipse Web Tools Platform consists of software produced by the |
| Eclipse Project combined with third party software from other open |
| source projects. The software produced by the Eclipse Project is made |
| available under the <a xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="http://www.eclipse.org/legal/epl-v10.html">Eclipse |
| Public License</a>. Third party components are made available under |
| their own licenses. The detailed licensing information can be found in |
| the <a xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="http://www.eclipse.org/legal/epl/notice.html">Eclipse.org |
| Software User Agreement</a> (notice.html) file in the root directory of |
| the SDK download. Licensing for third party components is described in |
| about.html files in the respective subdirectories. |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="about_10"><b>What is New and Noteworthy in WTP 1.0?</b></a> |
| <br> |
| <br> |
| <p xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Refer to the <a href="../development/news/1.0.html">WTP 1.0 - New and Noteworthy</a> document |
| for what is new in WTP 1.0.</p> |
| |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="about_11"><b>Where can I find a list of known problems with WTP 1.0?</b></a> |
| <br> |
| <br> |
| <p xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Refer to the <a href="../releases/1.0/">WTP 1.0 Release</a> document |
| for the list of known problems for WTP 1.0.</p> Of course, all bugs are recorded in the Eclipse <a xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="https://bugs.eclipse.org/bugs/">Bugzilla</a>. |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="about_12"><b>Why am I getting a java.lang.OutOfMemoryError: PermGen space?</b></a> |
| <br> |
| <br> |
| <p xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| The default maximum PermGen space set by your JRE may be too small. |
| You can increase the maximum PermGen size by launching WTP with VM argument: |
| -XX:MaxPermSize=128m |
| </p> |
| |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="about_2"><b>Who are the contributors to the Eclipse Web Tools Platform Project?</b></a> |
| <br> |
| <br> |
| We have a <a xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="../people/contributors.html">whole page</a> |
| listing the hard working contributors to this project. See the |
| <a xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="CommitterFAQ.html">Committer FAQ</a> if you are a committer. |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="about_3"><b>What version of Eclipse does WTP work with?</b></a> |
| <br> |
| <br> |
| WTP 0.7 works with Eclipse 3.1.<br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| WTP 1.0 supports Eclipse 3.1.x.<br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| WTP 1.5 is planned for Eclipse 3.2.<br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| <br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| |
| To use WTP with Eclipse 2.1.x see the IBM alphaWorks project <a xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="http://www.alphaworks.ibm.com/tech/webtools" target="_top">IBM Web Tools for Eclipse</a>. |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="about_5"><b>Which zip file should I download?</b></a> |
| <br> |
| <br> |
| The WTP SDK (wtp-sdk-*.zip) includes both the <a xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="http://eclipse.org/webtools/wst/main.html">Web Standard Tools</a> |
| and <a xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="http://eclipse.org/webtools/jst/main.html">J2EE Standard Tools</a>, |
| including source and both user and programmer documentation. <b xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">If you |
| aren't sure which download you need, you should probably get this one.</b> |
| <br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| <br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| The software development kit (SDK) downloads are for developers |
| wishing to build solutions on top of the Web Tools Platform, while the |
| non-SDK (e.g.: wtp-0.7.zip) downloads are suitable for everyone else's use. The |
| project also provides separate builds of the |
| <a xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="http://eclipse.org/webtools/wst/main.html">Web Standard Tools</a> |
| (wtp-wst-*.zip) by themselves for those uninterested in the tooling for J2EE standards. |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="about_6"><b>How do I install WTP?</b></a> |
| <br> |
| <br> |
| <ul xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| <li> |
| <a href="http://download.eclipse.org/webtools/updates/">Automatic installation using the Update Manager in Eclipse 3.1</a> |
| </li> |
| <br/> |
| <br/> |
| <li>Manual installation<br/> |
| The Web Tools Platform has several required projects that must all be |
| installed for proper operation. Each WTP |
| <a href="http://download.eclipse.org/webtools/downloads/" target="_top">build</a> is |
| built and tested with specific versions of these "prereqs" (see the |
| <i>Requirements</i> section on each specific build's download page) and it's |
| recommended that only those versions be installed and active when used |
| with a particular WTP build. The WTP download page for each build |
| details the complete list of requirements and provides links to download the |
| supported versions. Downloading and unpacking each should place |
| its contents into a folder named <b>eclipse</b>. |
| <ol> |
| <li>Unpack the Eclipse SDK</li> |
| <li>Unzip the Graphical Editor Framework (GEF) into the same location</li> |
| <li>Unzip the Eclipse Modeling Framework (EMF) / XML Schema Infoset Model (XSD) / Service Data Objects (SDO) into the same location</li> |
| <li>Unzip the Java EMF Model (JEM) from the Visual Editor Project into the same location</li> |
| <li>Unzip the Web Tools Platform build into the same location</li> |
| </ol> |
| WTP should now be installed. Launch Eclipse with the <i>-clean</i> |
| option one time to ensure all plugins are detected properly.<br/> |
| <br/> |
| <i>The identical revision of the full |
| VE-SDK may be substituted for the listed JEM-SDK version if you wish to |
| use the Visual Editor and the Web Tools Platform at the same time. |
| </i> |
| <br/> |
| <br/> |
| |
| A <a href="http://www.eclipse.org/org/june05release/screencasts/5-webToolsInstallation/webToolsInstallation.html" target="_top"> |
| screencast</a> that includes setting up Xdoclet and a JBoss 3.x test server is also |
| available. |
| </li> |
| </ul> |
| |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="about_7"><b>Are there any WTP tutorials available?</b></a> |
| <br> |
| <br> |
| Yes! See the <a xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="../community/community.html#tutorials">WTP community page</a>. |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="about_8"><b>What is New and Noteworthy in WTP 0.7?</b></a> |
| <br> |
| <br> |
| <p xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Refer to the <a href="../development/news/0.7.html">WTP 0.7 - New and Noteworthy</a> document |
| for what is new in WTP 0.7.</p> |
| |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="about_9"><b>Where can I find a list of known problems with WTP 0.7?</b></a> |
| <br> |
| <br> |
| <p xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Refer to the <a href="../development/news/0.7.html">WTP 0.7 - New and Noteworthy</a> document |
| for the list of known problems for WTP 0.7.</p> |
| |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| </ol> |
| <table width="100%" cellspacing="0" cellpadding="2" border="0" bgcolor="#cccccc"> |
| <tbody> |
| <tr> |
| <td width="90%"><b><font size="+1" face="Arial,Helvetica" color="#000000"><a name="Data Tools">Data Tools</a></font></b></td><td align="right" width="10%"><a href="#toc">top</a></td> |
| </tr> |
| </tbody> |
| </table> |
| <ol> |
| <li> |
| <a name="data_1"><b>Where can I find the WTP Data Tools?</b></a> |
| <br> |
| <br> |
| Select Window->Show View->Other...->Data. You can then open the Database Explorer and Data Output views. |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| </ol> |
| <table width="100%" cellspacing="0" cellpadding="2" border="0" bgcolor="#cccccc"> |
| <tbody> |
| <tr> |
| <td width="90%"><b><font size="+1" face="Arial,Helvetica" color="#000000"><a name="J2EE">J2EE</a></font></b></td><td align="right" width="10%"><a href="#toc">top</a></td> |
| </tr> |
| </tbody> |
| </table> |
| <ol> |
| <li> |
| <a name="j2ee_1"><b>Where can I find the New J2EE Web Module wizard?</b></a> |
| <br> |
| <br> |
| J2EE Web Module has been renamed Dynamic Web Project. |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="j2ee_2"><b>Does the WTP include a visual JSP editor?</b></a> |
| <br> |
| <br> |
| There is no visual JSP editor today, although it's a frequently |
| requested enhancement. It's not currently in the plan for the 1.5 |
| release, but if someone wants to donate code or development time we'd |
| certainly be happy to take the contribution. |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="j2ee_3"><b>How do I install XDoclet in WTP?</b></a> |
| <br> |
| <br> |
| To install XDoclet: |
| <ol xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| <li>Download XDoctlet from <a href="http://sourceforge.net/project/showfiles.php?group_id=31602" target="_top"> |
| http://sourceforge.net/project/showfiles.php?group_id=31602</a>. |
| </li> |
| <li>Unzip XDoclet to a directory on your machine such as C:\XDoclet |
| </li> |
| <li>Specify the directory in which XDoclet is located in Window->Preferences->J2EE Annotations->XDoclet. |
| </li> |
| </ol> |
| |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="j2ee_4"><b>What types of EJBs does WTP support?</b></a> |
| <br> |
| <br> |
| <p xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| WTP supports entity, session and messages driven beans. Support for the Java |
| Persistence Architecture (JPA) is available from the Eclipse <a href="http://www.eclipse.org/dali/" target="_top">Dali project</a>. |
| </p> |
| |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| </ol> |
| <table width="100%" cellspacing="0" cellpadding="2" border="0" bgcolor="#cccccc"> |
| <tbody> |
| <tr> |
| <td width="90%"><b><font size="+1" face="Arial,Helvetica" color="#000000"><a name="Server/Internet">Server/Internet</a></font></b></td><td align="right" width="10%"><a href="#toc">top</a></td> |
| </tr> |
| </tbody> |
| </table> |
| <ol> |
| <li> |
| <a name="server_1"><b>Where are cached files located?</b></a> |
| <br> |
| <br> |
| The cached files are located in WORKSPACE_DIR/.metadata/.plugins/org.eclipse.wst.internet.cache. |
| The entries are all named with numbers but you can see the mappings in the |
| cache.xml file located in the same directory. |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="server_2"><b>How do I debug JSPs with BEA WebLogic Server 8.x?</b></a> |
| <br> |
| <br> |
| BEA WebLogic Server 8.x and earlier do not support JSR-45; WebLogic Server 9.x and later |
| do support JSR-45 so you can debug JSP files with them using WTP (note: there are outstanding issues with JSP |
| source lookup for the WLS Generic adapter in 0.7 - see |
| <a xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=104401" target="_top">bug 104401</a>). |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="server_3"><b>How do I debug JSPs with Apache Tomcat 4.x?</b></a> |
| <br> |
| <br> |
| Apache Tomcat 4.x and earlier do not support JSR-45; Tomcat 5.x and later |
| do support JSR-45 so you can debug JSP files with them using WTP. |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| </ol> |
| <table width="100%" cellspacing="0" cellpadding="2" border="0" bgcolor="#cccccc"> |
| <tbody> |
| <tr> |
| <td width="90%"><b><font size="+1" face="Arial,Helvetica" color="#000000"><a name="Web">Web</a></font></b></td><td align="right" width="10%"><a href="#toc">top</a></td> |
| </tr> |
| </tbody> |
| </table> |
| <ol> |
| <li> |
| <a name="web_1"><b>Why does the HTML editor show a validation error if I don't use closing </p> or </br> tags?</b></a> |
| <br> |
| <br> |
| You're likely editing an XHTML file which requires that the file be well formed XML. |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="web_2"><b>Does WTP's JavaScript editor report syntax errors?</b></a> |
| <br> |
| <br> |
| The JavaScript editor does not report syntax errors and the core teams have |
| no plans to add this for JavaScript. However, contributions are always welcome. |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| </ol> |
| <table width="100%" cellspacing="0" cellpadding="2" border="0" bgcolor="#cccccc"> |
| <tbody> |
| <tr> |
| <td width="90%"><b><font size="+1" face="Arial,Helvetica" color="#000000"><a name="Web Services">Web Services</a></font></b></td><td align="right" width="10%"><a href="#toc">top</a></td> |
| </tr> |
| </tbody> |
| </table> |
| <ol> |
| <li> |
| <a name="ws_1"><b>Can the WSDL validator be extended to validate extension elements, for example partnerLinks and properties from the WS-BPEL specification?</b></a> |
| <br> |
| <br> |
| Yes! The WSDL validator has extension points (which should all be |
| considered internal, non-API at this point) which allow you to plug your |
| own extension validator for a given namespace into the WSDL validator.<br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| <br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| In this case, you can create a validator for the WS-BPEL namespace and |
| plug-it into the WSDL validator. Your validator will get called any time |
| an element from the WS-BPEL namespace is encountered.<br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| <br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| The WSDL <a xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="http://dev.eclipse.org/viewcvs/index.cgi/wst/components/wsdl/plugins/org.eclipse.wst.wsdl.validation/src/wsdlvalidate/org/eclipse/wst/wsdl/validation/internal/wsdl11/http/HTTPValidator.java?rev=1.2&cvsroot=WebTools_Project&content-type=text/vnd.viewcvs-markup" target="_top">HTTP validator</a> |
| and <a xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="http://dev.eclipse.org/viewcvs/index.cgi/wst/components/wsdl/plugins/org.eclipse.wst.wsdl.validation/src/wsdlvalidate/org/eclipse/wst/wsdl/validation/internal/wsdl11/soap/SOAPValidator.java?rev=1.2&cvsroot=WebTools_Project&content-type=text/vnd.viewcvs-markup" target="_top">SOAP validator</a> both use this extension mechanism. |
| To contribute your validator to the WSDL validator you need to specify an entry |
| in your plugin manifest as follows:<br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| (I'm assuming http://schemas.xmlsoap.org/ws/2004/03/business-process/ is the BPEL namespace.)<br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| <br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| <extension point="org.eclipse.wst.wsdl.validation.wsdl11validator"><br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| <wsdl11validator<br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| class="org.example.WSBPELValidator"<br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| namespace="http://schemas.xmlsoap.org/ws/2004/03/business-process/"<br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| resourcebundle="wsbpelvalidator"/><br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| </extension> |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="ws_2"><b>Why does WTP produce errors for multiple import statements for the same namespace in WSDL 1.1?</b></a> |
| <br> |
| <br> |
| The <a xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="http://schemas.xmlsoap.org/wsdl/" target="_top">WSDL 1.1 schema</a> restricts |
| wsdl:import statements by specifying that they must contain unique |
| namespaces. This means one import per namespace per WSDL document. |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| </ol> |
| <table width="100%" cellspacing="0" cellpadding="2" border="0" bgcolor="#cccccc"> |
| <tbody> |
| <tr> |
| <td width="90%"><b><font size="+1" face="Arial,Helvetica" color="#000000"><a name="XML">XML</a></font></b></td><td align="right" width="10%"><a href="#toc">top</a></td> |
| </tr> |
| </tbody> |
| </table> |
| <ol> |
| <li> |
| <a name="xml_1"><b>How do I use my own filename extensions in the XML editor? It only works correctly if a file ends with .xml.</b></a> |
| <br> |
| <br> |
| <i xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Note: this also applies to the JSP and HTML editors and others in WTP</i> |
| <br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| <br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| Earlier versions of Eclipse only allowed users to associated editors |
| with custom file names using the <i xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">File Associations</i> preference page. |
| Eclipse 3.1 supports a more flexible notion of <i xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Content |
| Types</i> that allows more than just editors to treat custom-named files |
| as XML, for example. Instead of using the <i xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">File Associations</i> preference page, |
| add the filename extension to the new <i xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Content Types</i> preference page. |
| Doing so "teaches" Eclipse about that filename extension so that features |
| such as Validation and Task Tag detection also support those files correctly.<br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| <br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| See the |
| <a xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="http://download.eclipse.org/eclipse/downloads/drops/R-3.1-200506271435/eclipse-news-part1.html" target="_top"> |
| Eclipse 3.1 New and Noteworthy</a> section regarding <i xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Editor lookup |
| based on content type</i> for more information. |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="xml_2"><b>How do I programmatically add entries to the XML catalog?</b></a> |
| <br> |
| <br> |
| The XML catalog extension point schema contains specific definitions of |
| how to use the extension point. You can view the schema <a xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" href="http://dev.eclipse.org/viewcvs/index.cgi/wst/components/xml/plugins/org.eclipse.wst.xml.core/schema/catalogContributions.exsd?rev=1.4&cvsroot=WebTools_Project&content-type=text/vnd.viewcvs-markup" target="_top">here</a>.<br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| <br xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
| For easier viewing, checkout the org.eclipse.wst.xml.core plugin from the |
| repository and view this file with the Eclipse extension schema editor. |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| <li> |
| <a name="xml_3"><b>Why does the XML catalog preference dialog only show URI Key type entry when no file is selected?</b></a> |
| <br> |
| <br> |
| <p xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| As Public ID and System ID are only applicable to DTD entity resolution in |
| order to see these options in addition to URI for the Key Type choice you must |
| first select a DTD file. |
| </p> |
| <p xmlns="http://www.eclipse.org/webtools/faq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| When you select an XSD file you will see Namespace Name and Schema Location for |
| the Key Type selection. |
| </p> |
| |
| <br> |
| <br> |
| <hr> |
| <br> |
| </li> |
| </ol> |
| <br> |
| <p></p> |
| <p>Please see our <a href="http://www.eclipse.org/legal/privacy.html">privacy |
| policy</a> and website <a href="http://www.eclipse.org/legal/termsofuse.html">terms |
| of use</a>. For problems with the eclipse.org site, please contact the |
| <a href="mailto:webmaster@eclipse.org">webmaster</a> or read the |
| <a href="../../../webmaster/index.html">webmaster FAQ</a> for answers to common questions!</p> |
| </body> |
| </html> |