📄 call.html
字号:
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value)</PRE><DL><DD>Sets the value for a named property. JAX-RPC specification specifies a standard set of properties that may be passed to the <code>Call.setProperty</code> method.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the property<DD><CODE>value</CODE> - Value of the property<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - <UL> <LI>If an optional standard property name is specified, however this <code>Call</code> implementation class does not support the configuration of this property. <LI>If an invalid (or unsupported) property name is specified or if a value of mismatched property type is passed. <LI>If there is any error in the configuration of a valid property. </UL></DL></DD></DL><HR><A NAME="getProperty(java.lang.String)"><!-- --></A><H3>getProperty</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getProperty</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE><DL><DD>Gets the value of a named property.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the property<DT><B>Returns:</B><DD>Value of the named property<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - if an invalid or unsupported property name is passed.</DL></DD></DL><HR><A NAME="removeProperty(java.lang.String)"><!-- --></A><H3>removeProperty</H3><PRE>public void <B>removeProperty</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE><DL><DD>Removes a named property.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the property<DT><B>Returns:</B><DD>boolean Returns code>true</code> if the specified property is removed; <code>false</code> otherwise<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - if an invalid or unsupported property name is passed.</DL></DD></DL><HR><A NAME="getPropertyNames()"><!-- --></A><H3>getPropertyNames</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A> <B>getPropertyNames</B>()</PRE><DL><DD>Gets the names of configurable properties supported by this <code>Call</code> object.<P><DD><DL><DT><B>Returns:</B><DD>Iterator for the property names</DL></DD></DL><HR><A NAME="invoke(java.lang.Object[])"><!-- --></A><H3>invoke</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>invoke</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] inputParams) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/rmi/RemoteException.html" title="class or interface in java.rmi">RemoteException</A></PRE><DL><DD>Invokes a specific operation using a synchronous request-response interaction mode.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>inputParams</CODE> - Object[]--Parameters for this invocation. This includes only the input params<DT><B>Returns:</B><DD>Returns the return value or <code>null</code><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/rmi/RemoteException.html" title="class or interface in java.rmi">RemoteException</A></CODE> - if there is any error in the remote method invocation<DD><CODE><A HREF="../../../javax/xml/rpc/soap/SOAPFaultException.html" title="class in javax.xml.rpc.soap">SOAPFaultException</A></CODE> - Indicates a SOAP fault<DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - <UL> <LI>If there is an error in the configuration of the <code>Call</code> object <LI>If <code>inputParams</code> do not match the required parameter set (as specified through the <code>addParameter</code> invocations or in the corresponding WSDL) <LI>If parameters and return type are incorrectly specified </UL></DL></DD></DL><HR><A NAME="invoke(javax.xml.namespace.QName, java.lang.Object[])"><!-- --></A><H3>invoke</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>invoke</B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> operationName, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] inputParams) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/rmi/RemoteException.html" title="class or interface in java.rmi">RemoteException</A></PRE><DL><DD>Invokes a specific operation using a synchronous request-response interaction mode.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>operationName</CODE> - QName of the operation<DD><CODE>inputParams</CODE> - Object[]--Parameters for this invocation. This includes only the input params.<DT><B>Returns:</B><DD>Return value or null<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/rmi/RemoteException.html" title="class or interface in java.rmi">RemoteException</A></CODE> - if there is any error in the remote method invocation.<DD><CODE><A HREF="../../../javax/xml/rpc/soap/SOAPFaultException.html" title="class in javax.xml.rpc.soap">SOAPFaultException</A></CODE> - Indicates a SOAP fault<DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - <UL> <LI>If there is an error in the configuration of the <code>Cal</code>l object <LI>If <code>inputParam</code>s do not match the required parameter set (as specified through the <code>addParameter</code> invocations or in the corresponding WSDL) <LI>If parameters and return type are incorrectly specified </UL></DL></DD></DL><HR><A NAME="invokeOneWay(java.lang.Object[])"><!-- --></A><H3>invokeOneWay</H3><PRE>public void <B>invokeOneWay</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] inputParams)</PRE><DL><DD>Invokes a remote method using the one-way interaction mode. The client thread does not normally block waiting for the completion of the server processing for this remote method invocation. When the protocol in use is SOAP/HTTP, this method should block until an HTTP response code has been received or an error occurs. This method must not throw any remote exceptions. This method may throw a <code>JAXRPCException</code> during the processing of the one-way remote call.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>inputParams</CODE> - Object[]--Parameters for this invocation. This includes only the input params.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - if there is an error in the configuration of the <code>Call</code> object (example: a non-void return type has been incorrectly specified for the one-way call) or if there is any error during the invocation of the one-way remote call</DL></DD></DL><HR><A NAME="getOutputParams()"><!-- --></A><H3>getOutputParams</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>getOutputParams</B>()</PRE><DL><DD>Returns a <code>Map</code> of {name, value} for the output parameters of the last invoked operation. The parameter names in the returned Map are of type <code>java.lang.String</code>.<P><DD><DL><DT><B>Returns:</B><DD>Map Output parameters for the last <code>Call.invoke()</code>. Empty <code>Map</code> is returned if there are no output parameters.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - If this method is invoked for a one-way operation or is invoked before any <code>invoke</code> method has been called.</DL></DD></DL><HR><A NAME="getOutputValues()"><!-- --></A><H3>getOutputValues</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getOutputValues</B>()</PRE><DL><DD>Returns a <code>List</code> values for the output parameters of the last invoked operation.<P><DD><DL><DT><B>Returns:</B><DD>java.util.List Values for the output parameters. An empty <code>List</code> is returned if there are no output values.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - If this method is invoked for a one-way operation or is invoked before any <code>invoke</code> method has been called.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Ent. Ed. v1.4</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS <A HREF="../../../javax/xml/rpc/Service.html" title="interface in javax.xml.rpc"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="Call.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2003 Sun Microsystems, Inc. All rights reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -