blob: 59d0ad28dbb9819432cb3cb763484003bc275e2a [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta name="copyright" content="Copyright (c) 2009 Shane Clarke. 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: Shane Clarke - initial API and implementation">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Tips and tricks (JAX-WS Tools)</title>
<link href="../book.css" rel="stylesheet" charset="ISO-8859-1" type="text/css">
<script type="text/javascript" language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
</head>
<body lang="EN-US">
<h2>Tips and tricks (JAX-WS Tools)</h2>
<p>The following tips and tricks give some helpful ideas for increasing your productivity.</p>
<table border="1" cellspacing="0" cellpadding="5" summary="Java search actions">
<tbody>
<tr>
<td valign="top">
<p><b>Content Assist</b></p>
</td>
<td valign="top">
<p>Content assist provides you with a list of proposals if available or will automatically insert the default value as outlined in the JAX-WS specifications for the annotations element.
In the Java editor press <b>Ctrl+Space</b> or use <b>Edit &gt; Content Assist &gt; JAX-WS Proposals</b> when the cursor is between the quotation marks of an annotations element String value
or directly after the '=' simple assignment operator.</p>
<p><img src="./images/content_assist.png" alt="Content Assist" > </p>
</td>
</tr>
<tr>
<td valign="top">
<p><b>Use Quick Fixes to resolve JAX-WS validation errors</b></p>
</td>
<td valign="top">
<p>With <b>Annotation Processing</b> enabled on a project the JAX-WS annotation processors report errors and warning when
rules are broken. A number of these rules are reported as fixable errors and warnings.</p>
<p><img src="./images/quick_fixes.png" alt="Quick Fixes" > </p>
</td>
</tr>
<tr>
<td valign="top">
<p><b>Initialize the Web Services wizards</b></p>
</td>
<td valign="top">
<p>Launch the Web Service and Web Service Client wizards from the context menu to initialize the wizard fields.
Right-click on a Java Implementation bean and select <b>Web Services > Create Web Service</b>.
For a WSDL document right-click and select <b>Web Services > Generate Java bean skeleton</b>.
This will initialize the &quot;Web service type&quot;, the &quot;Service implementation&quot; or &quot;Service definition&quot; fields
and the &quot;Service project&quot; field.</p>
</td>
</tr>
</tbody>
</table>
</body>
</html>