|
|
@@ -1,6 +1,6 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<!-- Reviewed: no -->
|
|
|
-<!-- EN-Revision: 15617 -->
|
|
|
+<!-- EN-Revision: 15621 -->
|
|
|
<sect1 id="zend.soap.wsdl">
|
|
|
<title>WSDLアクセッサ</title>
|
|
|
|
|
|
@@ -170,14 +170,16 @@
|
|
|
メソッドはバインディング要素 (/definitions/binding/operation) に指定された名前で操作を追加します。
|
|
|
</para>
|
|
|
<para>
|
|
|
- It takes <code>XML_Tree_Node</code> object returned by <code>addBinding()</code> as an input
|
|
|
- (<code>$binding</code> parameter) to add 'operation' element with input/output/false entries depending on
|
|
|
- specified parameters
|
|
|
+ 指定されたパラメータに従って、
|
|
|
+ 入力・出力・false値を持つ 'operation' 要素を加えるために、
|
|
|
+ 入力(<code>$binding</code>パラメータ)として<code>addBinding()</code>によって返される
|
|
|
+ <code>XML_Tree_Node</code>オブジェクトをそのメソッドは取得します。
|
|
|
</para>
|
|
|
<para>
|
|
|
- Zend_Soap_Server implementation adds corresponding binding entry for each Web Service method with input and output
|
|
|
- entries defining 'soap:body' element as
|
|
|
+ Zend_Soap_Serverを実行すると、 'soap:body' 要素を
|
|
|
'<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
|
|
+ として定義している入出力エントリで、
|
|
|
+ ウェブサービス・メソッドごとに対応するバインディング・エントリを加えます。
|
|
|
</para>
|
|
|
<para>
|
|
|
詳しくは<ulink url="http://www.w3.org/TR/wsdl#_bindings"/>をご覧ください。
|
|
|
@@ -188,11 +190,12 @@
|
|
|
<title>addSoapBinding()メソッド</title>
|
|
|
<para>
|
|
|
<code>addSoapBinding($binding, $style = 'document', $transport = 'http://schemas.xmlsoap.org/soap/http')</code>
|
|
|
- method adds SOAP binding ('soap:binding') entry to the binding element (which is already linked to some port type)
|
|
|
- with the specified style and transport (Zend_Soap_Server implementation uses RPC style over HTTP).
|
|
|
+ メソッドは、指定されたスタイルとトランスポート(Zend_Soap_Server実行では、HTTPについてRPCスタイルを使用します)で
|
|
|
+ SOAPバインディング項目 ('soap:binding') をバインディング要素(それは、あるポートタイプにすでにリンクされます)に追加します。
|
|
|
</para>
|
|
|
<para>
|
|
|
- '/definitions/binding/soap:binding' element is used to signify that the binding is bound to the SOAP protocol format.
|
|
|
+ '/definitions/binding/soap:binding' 要素は、
|
|
|
+ バインディングがSOAPプロトコル形式に束縛されることを示すのに用いられます。
|
|
|
</para>
|
|
|
<para>
|
|
|
詳しくは<ulink url="http://www.w3.org/TR/wsdl#_bindings"/>をご覧ください。
|
|
|
@@ -202,18 +205,20 @@
|
|
|
<sect2 id="zend.soap.wsdl.add_soap_operation">
|
|
|
<title>addSoapOperation()メソッド</title>
|
|
|
<para>
|
|
|
- <code>addSoapOperation($binding, $soap_action)</code>
|
|
|
- method adds SOAP operation ('soap:operation') entry to the binding element with the specified action.
|
|
|
- 'style' attribute of the 'soap:operation' element is not used since programming model (RPC-oriented or document-oriented)
|
|
|
- may be st using <code>addSoapBinding()</code> method
|
|
|
+ <code>addSoapOperation($binding, $soap_action)</code>メソッドは、
|
|
|
+ SOAP操作項目 ('soap:operation') を指定されたアクションでバインディング要素に加えます。
|
|
|
+ 'soap:operation' 要素の 'style' 属性は、(RPC指向か文書指向の)プログラミング・モデルが
|
|
|
+ <code>addSoapBinding()</code>メソッドを使用しているかもしれないので使われません。
|
|
|
</para>
|
|
|
<para>
|
|
|
- 'soapAction' attribute of '/definitions/binding/soap:operation' element specifies the value of the SOAPAction header
|
|
|
- for this operation. This attribute is required for SOAP over HTTP and <emphasis>must not</emphasis> be
|
|
|
- specified for other transports.
|
|
|
+ '/definitions/binding/soap:operation' 要素の 'soapAction' 属性は、
|
|
|
+ この操作のためにSOAPActionヘッダの値を指定します。
|
|
|
+ この属性はHTTPを通じたSOAPで必須です。
|
|
|
+ 他のトランスポートのために指定しては<emphasis>いけません</emphasis>。
|
|
|
</para>
|
|
|
<para>
|
|
|
- Zend_Soap_Server implementation uses <code>$serviceUri . '#' . $methodName</code> for SOAP operation action name.
|
|
|
+ Zend_Soap_Server実行では、SOAP操作アクション名のために
|
|
|
+ <code>$serviceUri . '#' . $methodName</code>を使います。
|
|
|
</para>
|
|
|
<para>
|
|
|
詳しくは<ulink url="http://www.w3.org/TR/wsdl#_soap:operation"/>をご覧ください。
|
|
|
@@ -231,16 +236,16 @@
|
|
|
Zend_Soap_Server implementation and not supported by <classname>Zend_Soap_Wsdl</classname> class.
|
|
|
</para>
|
|
|
<para>
|
|
|
- Zend_Soap_Server implementation uses:
|
|
|
+ Zend_Soap_Serverの実行に使用します:
|
|
|
<itemizedlist>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
- <code>$name . 'Service'</code> as a Web Service name,
|
|
|
+ ウェブサービス名として<code>$name . 'Service'</code>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
- <code>$name . 'Port'</code> as a port type name,
|
|
|
+ ポートタイプ名として<code>$name . 'Port'</code>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
<listitem>
|
|
|
@@ -273,8 +278,7 @@
|
|
|
<sect2 id="zend.soap.wsdl.types">
|
|
|
<title>型のマッピング</title>
|
|
|
<para>
|
|
|
- Zend_Soap WSDL accessor implementation uses the following type mapping between PHP and SOAP types:
|
|
|
-
|
|
|
+ Zend_Soap WSDLアクセッサの実行では、PHPとSOAP型の間で以下の型マッピングを使用します:
|
|
|
<itemizedlist>
|
|
|
<listitem>
|
|
|
<para>PHP文字列 <-> <code>xsd:string</code></para>
|
|
|
@@ -325,7 +329,7 @@
|
|
|
<sect3 id="zend.soap.wsdl.types.retrieve">
|
|
|
<title>型情報の取得</title>
|
|
|
<para>
|
|
|
- <code>getType($type)</code> method may be used to get mapping for a specified PHP type:
|
|
|
+ <code>getType($type)</code>メソッドは、指定されたPHP型をマップするために用いられるかもしれません:
|
|
|
|
|
|
<programlisting language="php"><![CDATA[
|
|
|
...
|