📄 call.java
字号:
public QName getReturnType(); /** * Removes all specified parameters from this <code>Call</code> instance. * Note that this method removes only the parameters and not * the return type. The <code>setReturnType(null)</code> is * used to remove the return type. * * @throws JAXRPCException This exception may be * thrown If this method is called when the method * <code>isParameterAndReturnSpecRequired</code> * returns <code>false</code> for this Call's operation. */ public void removeAllParameters(); /** * Gets the name of the operation to be invoked using this Call instance. * * @return Qualified name of the operation */ public QName getOperationName(); /** * Sets the name of the operation to be invoked using this * <code>Call</code> instance. * * @param operationName QName of the operation to be * invoked using the Call instance */ public void setOperationName(QName operationName); /** * Gets the qualified name of the port type. * * @return Qualified name of the port type */ public QName getPortTypeName(); /** * Sets the qualified name of the port type. * * @param portType Qualified name of the port type */ public void setPortTypeName(QName portType); /** * Sets the address of the target service endpoint. * This address must correspond to the transport specified * in the binding for this <code>Call</code> instance. * * @param address Address of the target service endpoint; * specified as an URI */ public void setTargetEndpointAddress(String address); /** * Gets the address of a target service endpoint. * * @return Endpoint address of the target service port as an URI */ public String getTargetEndpointAddress(); /** * 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. * * @param name Name of the property * @param value Value of the property * @throws JAXRPCException <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> */ public void setProperty(String name, Object value); /** * Gets the value of a named property. * * @param name Name of the property * * @return Value of the named property * @throws JAXRPCException if an invalid or * unsupported property name is passed. */ public Object getProperty(String name); /** * Removes a named property. * * @param name Name of the property * @throws JAXRPCException if an invalid or * unsupported property name is passed. */ public void removeProperty(String name); /** * Gets the names of configurable properties supported by * this <code>Call</code> object. * * @return Iterator for the property names */ public Iterator getPropertyNames(); // Remote Method Invocation methods /** * Invokes a specific operation using a synchronous request-response * interaction mode. * * @param inputParams Object[]--Parameters for this invocation. This * includes only the input params * * @return Returns the return value or <code>null</code> * * @throws java.rmi.RemoteException if there is any error in the remote * method invocation or if the Call * object is not configured properly. * @throws javax.xml.rpc.soap.SOAPFaultException Indicates a SOAP fault * @throws JAXRPCException <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> */ public Object invoke(Object[] inputParams) throws java.rmi.RemoteException; /** * Invokes a specific operation using a synchronous request-response * interaction mode. * * @param operationName QName of the operation * @param inputParams Object[]--Parameters for this invocation. This * includes only the input params. * * @return Return value or null * * @throws java.rmi.RemoteException if there is any error in the * remote method invocation. * @throws javax.xml.rpc.soap.SOAPFaultException Indicates a SOAP fault * @throws JAXRPCException <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> */ public Object invoke(QName operationName, Object[] inputParams) throws java.rmi.RemoteException; /** * Invokes a remote method using the one-way interaction mode. The * client thread does not block waiting for the completion of the * server processing for this remote method invocation. 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. * * @param params Object[]--Parameters for this invocation. This * includes only the input params. * * @throws JAXRPCException 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 */ public void invokeOneWay(Object[] params); /** * 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>. * * @return Map Output parameters for the last <code>Call.invoke()</code>. * Empty <code>Map</code> is returned if there are no output * parameters. * @throws javax.xml.rpc.JAXRPCException If this method is invoked for a * one-way operation or is invoked before any * <code>invoke</code> method has been called. */ public Map getOutputParams(); /** * Returns a <code>List</code> values for the output parameters * of the last invoked operation. * * @return java.util.List Values for the output parameters. An * empty <code>List</code> is returned if there are * no output values. * * @throws JAXRPCException If this method is invoked for a * one-way operation or is invoked before any * <code>invoke</code> method has been called. */ public List getOutputValues();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -