blob: b87067fe54b537373928524aa3aaa1459ac5a71d [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../skin/tigris.css" type="text/css">
<link rel="stylesheet" href="../../skin/mysite.css" type="text/css">
<link rel="stylesheet" href="../../skin/site.css" type="text/css">
<link media="print" rel="stylesheet" href="../../skin/print.css" type="text/css">
<title>WebServices - Axis</title>
</head>
<body bgcolor="white" class="composite">
<div id="banner">
<table width="100%" cellpadding="8" cellspacing="0" summary="banner" border="0">
<tbody>
<tr>
<td align="left">
<div class="groupLogo">
<a href="http://ws.apache.org/"><img border="0" class="logoImage" alt="The Apache WebServices Project" src="../../images/project-logo.jpg"></a>
</div>
</td><td align="right">
<div class="projectLogo">
<a href="http://ws.apache.org/axis/"><img border="0" class="logoImage" alt="The Apache Axis Project" src="../../images/axis.jpg"></a>
</div>
</td><td valign="top" rowspan="2" align="right" class="search">
<form target="_blank" action="http://www.google.co.jp/search" method="get">
<table summary="search" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#a5b6c6" colspan="3"><img height="10" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td>
</tr>
<tr>
<td colspan="3"><img height="8" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td>
</tr>
<tr>
<td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="ws.apache.org" name="sitesearch" type="hidden"><input value="ja" name="hl" type="hidden"><input value="UTF-8" name="ie" type="hidden"><input size="10" name="q" id="query" type="text"><img height="1" width="5" alt="" src="../../skin/images/spacer.gif" class="spacer"><input name="Search" value="検索" type="submit">
<br>WS を検索
</td><td><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td>
</tr>
<tr>
<td colspan="3"><img height="7" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td>
</tr>
<tr>
<td class="bottom-left-thick"></td><td bgcolor="#a5b6c6"><img height="1" width="1" alt="" src="../../skin/images/spacer.gif" class="spacer"></td><td class="bottom-right-thick"></td>
</tr>
</table>
</form>
</td>
</tr>
</tbody>
</table>
</div>
<table width="100%" cellpadding="0" cellspacing="0" border="0" summary="nav" id="breadcrumbs">
<tbody>
<tr class="status">
<td><a href="http://www.apache.org/">Apache</a> | <a href="http://ws.apache.org/">WS</a><a href=""></a></td><td id="tabs">
<div class="tab">
<span class="selectedTab"><a class="base-selected" href="../../index.html">WebServices-Axis</a></span>
</div>
</td>
</tr>
</tbody>
</table>
<table id="main" width="100%" cellpadding="8" cellspacing="0" summary="" border="0">
<tbody>
<tr valign="top">
<td id="leftcol">
<div id="navcolumn">
<div class="menuBar">
<div class="menu">
<span class="menuLabel">Axis</span>
<div class="menuItem">
<a href="../../index.html">はじめに</a>
</div>
<div class="menuItem">
<a href="../../news.html">お知らせ</a>
</div>
<div class="menuItem">
<a href="http://wiki.apache.org/ws/ja/axis">FAQ/Wiki</a>
</div>
<div class="menu">
<span class="menuLabel">活動に参加</span>
<div class="menuItem">
<a href="../../overview.html">概要</a>
</div>
<div class="menuItem">
<a href="../../cvs.html">CVS リポジトリ</a>
</div>
<div class="menuItem">
<a href="../../mail.html">メーリングリスト</a>
</div>
<div class="menuItem">
<a href="../../ref.html">リファレンスライブラリ</a>
</div>
<div class="menuItem">
<a href="../../bugs.html">バグ</a>
</div>
<div class="menuItem">
<a href="../../howtobuild.html">サイト構築方法</a>
</div>
</div>
<div class="menu">
<span class="menuLabel">Axis (Java)</span>
<div class="menuItem">
<a href="../../java/index.html">ドキュメント</a>
</div>
<div class="menuItem">
<a href="../../java/install.html">インストール</a>
</div>
<div class="menuItem">
<a href="../../java/user-guide.html">ユーザガイド</a>
</div>
<div class="menuItem">
<a href="../../java/developers-guide.html">開発者ガイド</a>
</div>
<div class="menuItem">
<a href="../../java/integration-guide.html">統合ガイド</a>
</div>
<div class="menuItem">
<a href="../../java/architecture-guide.html">アーキテクチャガイド</a>
</div>
<div class="menuItem">
<a href="../../java/reference.html">リファレンスガイド</a>
</div>
<div class="menuItem">
<a href="../../java/reading.html">読書ガイド</a>
</div>
<div class="menuItem">
<a href="../../java/requirements.html">要件</a>
</div>
</div>
<div class="menu">
<span class="menuLabel">Axis (C++)</span>
<div class="menuItem">
<a href="../../cpp/index.html">Axis C++ 最新版</a>
</div>
<div class="menuItem">
<a href="../../cpp/documentation.html">ドキュメント</a>
</div>
<div class="menuItem">
<a href="../../cpp/download.html">ダウンロード</a>
</div>
<div class="menuItem">
<a href="http://wiki.apache.org/ws/FrontPage/AxisCPP">Wiki ページ [英語]</a>
</div>
<div class="menuItem">
<a href="../../cpp/who.html">メンバ紹介</a>
</div>
</div>
<div class="menu">
<span class="menuLabel">ダウンロード</span>
<div class="menuItem">
<a href="../../releases.html">リリース</a>
</div>
<div class="menuItem">
<a href="../../interim.html">暫定版</a>
</div>
<div class="menuItem">
<a href="http://cvs.apache.org/viewcvs/ws-axis/">ソースコード [英語]</a>
</div>
</div>
<div class="menu">
<span class="menuLabel">翻訳</span>
<div class="menuItem">
<a href="http://ws.apache.org/axis/jp/">日本語</a>
</div>
</div>
<div class="menu">
<span class="menuLabel">関連プロジェクト</span>
<div class="menuItem">
<a href="http://ws.apache.org/wsif/">WSIF [英語]</a>
</div>
<div class="menuItem">
<a href="http://cvs.apache.org/viewcvs/*checkout*/ws-wsil/java/README.htm">WSIL [英語]</a>
</div>
<div class="menuItem">
<a href="http://www-124.ibm.com/developerworks/projects/wsdl4j/">WSDL4J [英語]</a>
</div>
<div class="menuItem">
<a href="http://www.uddi4j.org/">UDDI4J [英語]</a>
</div>
</div>
<div class="menu">
<span class="menuLabel">その他</span>
<div class="menuItem">
<a href="../../who.html">メンバ紹介</a>
</div>
<div class="menuItem">
<a href="../../contact.html">連絡先</a>
</div>
<div class="menuItem">
<a href="../../legal.html">法関連</a>
</div>
<div class="menuItem">
<a href="../../docs.html">メモ/ドキュメント</a>
</div>
</div>
</div>
</div>
</div>
</td><td>
<div id="bodycol">
<div class="app">
<div align="center">
<h1>WebServices - Axis</h1>
</div>
<div class="h3">
<div class="h3">
<h3>Axis-java2wsdl Task</h3>
</div>
<p>Generates a WSDL description from a Java class.</p>
<div class="h4">
<h4>Description</h4>
</div>
<p>Generates a WSDL description from a Java class.</p>
<div class="h4">
<h4>Parameters</h4>
</div>
<table class="ForrestTable" cellspacing="1" cellpadding="4">
<tr class="b">
<th colspan="1" rowspan="1">Attribute</th>
<th colspan="1" rowspan="1">Description</th>
<th colspan="1" rowspan="1">Type</th>
</tr>
<tr class="a">
<td colspan="1" rowspan="1">bindingname</td>
<td colspan="1" rowspan="1">The name to use use for the binding element. If not specified, the value of the <span class="codefrag">servicePortName</span> + "SoapBinding" is used.</td>
<td colspan="1" rowspan="1">java.lang.String</td>
</tr>
<tr class="b">
<td colspan="1" rowspan="1">classname</td>
<td colspan="1" rowspan="1">the class name to import, eg. org.example.Foo. Required. The class must be on the classpath.</td>
<td colspan="1" rowspan="1">java.lang.String</td>
</tr>
<tr class="a">
<td colspan="1" rowspan="1">exclude</td>
<td colspan="1" rowspan="1">Comma separated list of methods to exclude from the wsdl file.</td>
<td colspan="1" rowspan="1">java.lang.String</td>
</tr>
<tr class="b">
<td colspan="1" rowspan="1">extraclasses</td>
<td colspan="1" rowspan="1">The setter for the "extraClasses" attribute</td>
<td colspan="1" rowspan="1">java.lang.String</td>
</tr>
<tr class="a">
<td colspan="1" rowspan="1">implclass</td>
<td colspan="1" rowspan="1">Sometimes extra information is available in the implementation class file. Use this option to specify the implementation class.</td>
<td colspan="1" rowspan="1">java.lang.String</td>
</tr>
<tr class="b">
<td colspan="1" rowspan="1">input</td>
<td colspan="1" rowspan="1">Optional attribute that indicates the name of the input wsdl file. The output wsdl file will contain everything from the input wsdl file plus the new constructs. If a new construct is already present in the input wsdl file, it is not added. This option is useful for constructing a wsdl file with multiple ports, bindings, or portTypes.</td>
<td colspan="1" rowspan="1">java.io.File</td>
</tr>
<tr class="a">
<td colspan="1" rowspan="1">location</td>
<td colspan="1" rowspan="1">The url of the location of the service. The name after the last slash or backslash is the name of the service port (unless overridden by the -s option). The service port address location attribute is assigned the specified value.</td>
<td colspan="1" rowspan="1">java.lang.String</td>
</tr>
<tr class="b">
<td colspan="1" rowspan="1">locationimport</td>
<td colspan="1" rowspan="1">the location of the interface WSDL when generating an implementation WSDL Required when <span class="codefrag">outputImpl</span> is set</td>
<td colspan="1" rowspan="1">java.lang.String</td>
</tr>
<tr class="a">
<td colspan="1" rowspan="1">methods</td>
<td colspan="1" rowspan="1">If this option is specified, only the indicated methods in your interface class will be exported into the WSDL file. The methods list must be comma separated. If not specified, all methods declared in the interface class will be exported into the WSDL file</td>
<td colspan="1" rowspan="1">java.lang.String</td>
</tr>
<tr class="b">
<td colspan="1" rowspan="1">namespace</td>
<td colspan="1" rowspan="1">the target namespace. Required.</td>
<td colspan="1" rowspan="1">java.lang.String</td>
</tr>
<tr class="a">
<td colspan="1" rowspan="1">namespaceimpl</td>
<td colspan="1" rowspan="1">Namespace of the implementation WSDL.</td>
<td colspan="1" rowspan="1">java.lang.String</td>
</tr>
<tr class="b">
<td colspan="1" rowspan="1">output</td>
<td colspan="1" rowspan="1">The name of the output WSDL file. If not specified, a suitable default WSDL file is written into the current directory.</td>
<td colspan="1" rowspan="1">java.io.File</td>
</tr>
<tr class="a">
<td colspan="1" rowspan="1">outputimpl</td>
<td colspan="1" rowspan="1">Use this option to indicate the name of the output implementation WSDL file. If specified, Java2WSDL will produce separate interface and implementation WSDL files. If not, a single WSDL file is generated</td>
<td colspan="1" rowspan="1">java.io.File</td>
</tr>
<tr class="b">
<td colspan="1" rowspan="1">porttypename</td>
<td colspan="1" rowspan="1">Indicates the name to use use for the portType element. If not specified, the class-of-portType name is used.</td>
<td colspan="1" rowspan="1">java.lang.String</td>
</tr>
<tr class="a">
<td colspan="1" rowspan="1">serviceelementname</td>
<td colspan="1" rowspan="1">the name of the service element. If not specified, the service element is the <span class="codefrag">portTypeName</span>Service.</td>
<td colspan="1" rowspan="1">java.lang.String</td>
</tr>
<tr class="b">
<td colspan="1" rowspan="1">serviceportname</td>
<td colspan="1" rowspan="1">service port name (obtained from location if not specified)</td>
<td colspan="1" rowspan="1">java.lang.String</td>
</tr>
<tr class="a">
<td colspan="1" rowspan="1">stopclasses</td>
<td colspan="1" rowspan="1">Comma separated list of classes which stop the Java2WSDL inheritance search.</td>
<td colspan="1" rowspan="1">java.lang.String</td>
</tr>
<tr class="b">
<td colspan="1" rowspan="1">style</td>
<td colspan="1" rowspan="1">The style of the WSDL document: RPC, DOCUMENT or WRAPPED. If RPC, a rpc/encoded wsdl is generated. If DOCUMENT, a document/literal wsdl is generated. If WRAPPED, a document/literal wsdl is generated using the wrapped approach.</td>
<td colspan="1" rowspan="1">java.lang.String</td>
</tr>
<tr class="a">
<td colspan="1" rowspan="1">typemappingversion</td>
<td colspan="1" rowspan="1">the default type mapping registry to use. Either 1.1 or 1.2. Default is 1.1</td>
<td colspan="1" rowspan="1">org.apache.axis.tools.ant.wsdl.TypeMappingVersionEnum</td>
</tr>
<tr class="b">
<td colspan="1" rowspan="1">use</td>
<td colspan="1" rowspan="1">Set the use option</td>
<td colspan="1" rowspan="1">java.lang.String</td>
</tr>
<tr class="a">
<td colspan="1" rowspan="1">useinheritedmethods</td>
<td colspan="1" rowspan="1">should inherited methods be exported too? Default=false</td>
<td colspan="1" rowspan="1">boolean</td>
</tr>
</table>
<div class="h4">
<h4>Parameters as nested elements</h4>
</div>
<p>mapping (org.apache.axis.tools.ant.wsdl.NamespaceMapping)<br>add a mapping of namespaces to packages</p>
<p>mappingset (org.apache.axis.tools.ant.wsdl.MappingSet)<br>add a mapping of namespaces to packages</p>
<div id="pdf" align="right">
<a href="axis-java2wsdl.pdf"><img alt="PDF" src="../../skin/images/pdfdoc.gif" class="skin"><br>
PDF</a>
</div>
</div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<div id="footer">
<table summary="footer" cellspacing="0" cellpadding="4" width="100%" border="0">
<tbody>
<tr>
<td colspan="2">
<div align="center">
<div class="copyright">
Copyright &copy; 2000-2005&nbsp;The Apache Software Foundation. All rights reserved.
</div>
</div>
</td>
</tr>
<tr>
<td align="left"></td><td align="right">
<div align="right">
<div class="credit"></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>