| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 |
<!--NewPage--> |
| 3 |
<HTML> |
| 4 |
<HEAD> |
| 5 |
<!-- Generated by javadoc (build 1.4.2_08) on Sat Apr 22 18:57:16 PDT 2006 --> |
| 6 |
<TITLE> |
| 7 |
Call (Axis API) |
| 8 |
</TITLE> |
| 9 |
|
| 10 |
<META NAME="keywords" CONTENT="javax.xml.rpc.Call interface"> |
| 11 |
|
| 12 |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
| 13 |
|
| 14 |
<SCRIPT type="text/javascript"> |
| 15 |
function windowTitle() |
| 16 |
{ |
| 17 |
parent.document.title="Call (Axis API)"; |
| 18 |
} |
| 19 |
</SCRIPT> |
| 20 |
|
| 21 |
</HEAD> |
| 22 |
|
| 23 |
<BODY BGCOLOR="white" onload="windowTitle();"> |
| 24 |
|
| 25 |
|
| 26 |
<!-- ========= START OF TOP NAVBAR ======= --> |
| 27 |
<A NAME="navbar_top"><!-- --></A> |
| 28 |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| 29 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 30 |
<TR> |
| 31 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 32 |
<A NAME="navbar_top_firstrow"><!-- --></A> |
| 33 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 34 |
<TR ALIGN="center" VALIGN="top"> |
| 35 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 36 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 37 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 38 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Call.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 39 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 40 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 42 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 43 |
</TR> |
| 44 |
</TABLE> |
| 45 |
</TD> |
| 46 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 47 |
</EM> |
| 48 |
</TD> |
| 49 |
</TR> |
| 50 |
|
| 51 |
<TR> |
| 52 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 53 |
PREV CLASS |
| 54 |
<A HREF="../../../javax/xml/rpc/Service.html" title="interface in javax.xml.rpc"><B>NEXT CLASS</B></A></FONT></TD> |
| 55 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 56 |
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
| 57 |
<A HREF="Call.html" target="_top"><B>NO FRAMES</B></A> |
| 58 |
<SCRIPT type="text/javascript"> |
| 59 |
<!-- |
| 60 |
if(window==top) { |
| 61 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 62 |
} |
| 63 |
//--> |
| 64 |
</SCRIPT> |
| 65 |
<NOSCRIPT> |
| 66 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 67 |
</NOSCRIPT> |
| 68 |
|
| 69 |
</FONT></TD> |
| 70 |
</TR> |
| 71 |
<TR> |
| 72 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 73 |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 74 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 75 |
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 76 |
</TR> |
| 77 |
</TABLE> |
| 78 |
<A NAME="skip-navbar_top"></A> |
| 79 |
<!-- ========= END OF TOP NAVBAR ========= --> |
| 80 |
|
| 81 |
<HR> |
| 82 |
<!-- ======== START OF CLASS DATA ======== --> |
| 83 |
<H2> |
| 84 |
<FONT SIZE="-1"> |
| 85 |
javax.xml.rpc</FONT> |
| 86 |
<BR> |
| 87 |
Interface Call</H2> |
| 88 |
<DL> |
| 89 |
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/apache/axis/client/Call.html" title="class in org.apache.axis.client">Call</A></DD> |
| 90 |
</DL> |
| 91 |
<HR> |
| 92 |
<DL> |
| 93 |
<DT>public interface <B>Call</B></DL> |
| 94 |
|
| 95 |
<P> |
| 96 |
The <code>javax.xml.rpc.Call</code> interface provides support |
| 97 |
for the dynamic invocation of a service endpoint. The |
| 98 |
<code>javax.xml.rpc.Service</code> interface acts as a factory |
| 99 |
for the creation of <code>Call</code> instances. |
| 100 |
<p> |
| 101 |
Once a <code>Call</code> instance is created, various setter |
| 102 |
and getter methods may be used to configure this <code>Call</code> |
| 103 |
instance. |
| 104 |
<P> |
| 105 |
|
| 106 |
<P> |
| 107 |
<DL> |
| 108 |
<DT><B>Version:</B></DT> |
| 109 |
<DD>1.0</DD> |
| 110 |
</DL> |
| 111 |
<HR> |
| 112 |
|
| 113 |
<P> |
| 114 |
<!-- ======== NESTED CLASS SUMMARY ======== --> |
| 115 |
|
| 116 |
|
| 117 |
<!-- =========== FIELD SUMMARY =========== --> |
| 118 |
|
| 119 |
<A NAME="field_summary"><!-- --></A> |
| 120 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 121 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 122 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 123 |
<B>Field Summary</B></FONT></TD> |
| 124 |
</TR> |
| 125 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 126 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 127 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 128 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#ENCODINGSTYLE_URI_PROPERTY">ENCODINGSTYLE_URI_PROPERTY</A></B></CODE> |
| 129 |
|
| 130 |
<BR> |
| 131 |
Standard property for encoding Style: Encoding style specified |
| 132 |
as a namespace URI.</TD> |
| 133 |
</TR> |
| 134 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 135 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 136 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 137 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#OPERATION_STYLE_PROPERTY">OPERATION_STYLE_PROPERTY</A></B></CODE> |
| 138 |
|
| 139 |
<BR> |
| 140 |
Standard property for operation style.</TD> |
| 141 |
</TR> |
| 142 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 143 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 144 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 145 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#PASSWORD_PROPERTY">PASSWORD_PROPERTY</A></B></CODE> |
| 146 |
|
| 147 |
<BR> |
| 148 |
Standard property: Password for authentication |
| 149 |
</TD> |
| 150 |
</TR> |
| 151 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 152 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 153 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 154 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#SESSION_MAINTAIN_PROPERTY">SESSION_MAINTAIN_PROPERTY</A></B></CODE> |
| 155 |
|
| 156 |
<BR> |
| 157 |
Standard property: This boolean property is used by a service |
| 158 |
client to indicate whether or not it wants to participate in |
| 159 |
a session with a service endpoint.</TD> |
| 160 |
</TR> |
| 161 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 162 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 163 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 164 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#SOAPACTION_URI_PROPERTY">SOAPACTION_URI_PROPERTY</A></B></CODE> |
| 165 |
|
| 166 |
<BR> |
| 167 |
Standard property for SOAPAction.</TD> |
| 168 |
</TR> |
| 169 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 170 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 171 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 172 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#SOAPACTION_USE_PROPERTY">SOAPACTION_USE_PROPERTY</A></B></CODE> |
| 173 |
|
| 174 |
<BR> |
| 175 |
Standard property for SOAPAction.</TD> |
| 176 |
</TR> |
| 177 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 178 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 179 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 180 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#USERNAME_PROPERTY">USERNAME_PROPERTY</A></B></CODE> |
| 181 |
|
| 182 |
<BR> |
| 183 |
Standard property: User name for authentication |
| 184 |
</TD> |
| 185 |
</TR> |
| 186 |
</TABLE> |
| 187 |
|
| 188 |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| 189 |
|
| 190 |
|
| 191 |
<!-- ========== METHOD SUMMARY =========== --> |
| 192 |
|
| 193 |
<A NAME="method_summary"><!-- --></A> |
| 194 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 195 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 196 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 197 |
<B>Method Summary</B></FONT></TD> |
| 198 |
</TR> |
| 199 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 200 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 201 |
<CODE> void</CODE></FONT></TD> |
| 202 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#addParameter(java.lang.String, javax.xml.namespace.QName, java.lang.Class, javax.xml.rpc.ParameterMode)">addParameter</A></B>(java.lang.String paramName, |
| 203 |
<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType, |
| 204 |
java.lang.Class javaType, |
| 205 |
<A HREF="../../../javax/xml/rpc/ParameterMode.html" title="class in javax.xml.rpc">ParameterMode</A> parameterMode)</CODE> |
| 206 |
|
| 207 |
<BR> |
| 208 |
Adds a parameter type and mode for a specific operation.</TD> |
| 209 |
</TR> |
| 210 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 211 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 212 |
<CODE> void</CODE></FONT></TD> |
| 213 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#addParameter(java.lang.String, javax.xml.namespace.QName, javax.xml.rpc.ParameterMode)">addParameter</A></B>(java.lang.String paramName, |
| 214 |
<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType, |
| 215 |
<A HREF="../../../javax/xml/rpc/ParameterMode.html" title="class in javax.xml.rpc">ParameterMode</A> parameterMode)</CODE> |
| 216 |
|
| 217 |
<BR> |
| 218 |
Adds a parameter type and mode for a specific operation.</TD> |
| 219 |
</TR> |
| 220 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 221 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 222 |
<CODE> <A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A></CODE></FONT></TD> |
| 223 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#getOperationName()">getOperationName</A></B>()</CODE> |
| 224 |
|
| 225 |
<BR> |
| 226 |
Gets the name of the operation to be invoked using this Call instance.</TD> |
| 227 |
</TR> |
| 228 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 229 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 230 |
<CODE> java.util.Map</CODE></FONT></TD> |
| 231 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#getOutputParams()">getOutputParams</A></B>()</CODE> |
| 232 |
|
| 233 |
<BR> |
| 234 |
Returns a <code>Map</code> of {name, value} for the output parameters of |
| 235 |
the last invoked operation.</TD> |
| 236 |
</TR> |
| 237 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 238 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 239 |
<CODE> java.util.List</CODE></FONT></TD> |
| 240 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#getOutputValues()">getOutputValues</A></B>()</CODE> |
| 241 |
|
| 242 |
<BR> |
| 243 |
Returns a <code>List</code> values for the output parameters |
| 244 |
of the last invoked operation.</TD> |
| 245 |
</TR> |
| 246 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 247 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 248 |
<CODE> <A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A></CODE></FONT></TD> |
| 249 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#getParameterTypeByName(java.lang.String)">getParameterTypeByName</A></B>(java.lang.String paramName)</CODE> |
| 250 |
|
| 251 |
<BR> |
| 252 |
Gets the XML type of a parameter by name.</TD> |
| 253 |
</TR> |
| 254 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 255 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 256 |
<CODE> <A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A></CODE></FONT></TD> |
| 257 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#getPortTypeName()">getPortTypeName</A></B>()</CODE> |
| 258 |
|
| 259 |
<BR> |
| 260 |
Gets the qualified name of the port type.</TD> |
| 261 |
</TR> |
| 262 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 263 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 264 |
<CODE> java.lang.Object</CODE></FONT></TD> |
| 265 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#getProperty(java.lang.String)">getProperty</A></B>(java.lang.String name)</CODE> |
| 266 |
|
| 267 |
<BR> |
| 268 |
Gets the value of a named property.</TD> |
| 269 |
</TR> |
| 270 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 271 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 272 |
<CODE> java.util.Iterator</CODE></FONT></TD> |
| 273 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#getPropertyNames()">getPropertyNames</A></B>()</CODE> |
| 274 |
|
| 275 |
<BR> |
| 276 |
Gets the names of configurable properties supported by |
| 277 |
this <code>Call</code> object.</TD> |
| 278 |
</TR> |
| 279 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 280 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 281 |
<CODE> <A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A></CODE></FONT></TD> |
| 282 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#getReturnType()">getReturnType</A></B>()</CODE> |
| 283 |
|
| 284 |
<BR> |
| 285 |
Gets the return type for a specific operation.</TD> |
| 286 |
</TR> |
| 287 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 288 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 289 |
<CODE> java.lang.String</CODE></FONT></TD> |
| 290 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#getTargetEndpointAddress()">getTargetEndpointAddress</A></B>()</CODE> |
| 291 |
|
| 292 |
<BR> |
| 293 |
Gets the address of a target service endpoint.</TD> |
| 294 |
</TR> |
| 295 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 296 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 297 |
<CODE> java.lang.Object</CODE></FONT></TD> |
| 298 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#invoke(java.lang.Object[])">invoke</A></B>(java.lang.Object[] inputParams)</CODE> |
| 299 |
|
| 300 |
<BR> |
| 301 |
Invokes a specific operation using a synchronous request-response |
| 302 |
interaction mode.</TD> |
| 303 |
</TR> |
| 304 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 305 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 306 |
<CODE> java.lang.Object</CODE></FONT></TD> |
| 307 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#invoke(javax.xml.namespace.QName, java.lang.Object[])">invoke</A></B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> operationName, |
| 308 |
java.lang.Object[] inputParams)</CODE> |
| 309 |
|
| 310 |
<BR> |
| 311 |
Invokes a specific operation using a synchronous request-response |
| 312 |
interaction mode.</TD> |
| 313 |
</TR> |
| 314 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 315 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 316 |
<CODE> void</CODE></FONT></TD> |
| 317 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#invokeOneWay(java.lang.Object[])">invokeOneWay</A></B>(java.lang.Object[] params)</CODE> |
| 318 |
|
| 319 |
<BR> |
| 320 |
Invokes a remote method using the one-way interaction mode.</TD> |
| 321 |
</TR> |
| 322 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 323 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 324 |
<CODE> boolean</CODE></FONT></TD> |
| 325 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#isParameterAndReturnSpecRequired(javax.xml.namespace.QName)">isParameterAndReturnSpecRequired</A></B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> operationName)</CODE> |
| 326 |
|
| 327 |
<BR> |
| 328 |
Indicates whether <code>addParameter</code> and |
| 329 |
<code>setReturnType</code> methods |
| 330 |
are to be invoked to specify the parameter and return type |
| 331 |
specification for a specific operation.</TD> |
| 332 |
</TR> |
| 333 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 334 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 335 |
<CODE> void</CODE></FONT></TD> |
| 336 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#removeAllParameters()">removeAllParameters</A></B>()</CODE> |
| 337 |
|
| 338 |
<BR> |
| 339 |
Removes all specified parameters from this <code>Call</code> instance.</TD> |
| 340 |
</TR> |
| 341 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 342 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 343 |
<CODE> void</CODE></FONT></TD> |
| 344 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#removeProperty(java.lang.String)">removeProperty</A></B>(java.lang.String name)</CODE> |
| 345 |
|
| 346 |
<BR> |
| 347 |
Removes a named property.</TD> |
| 348 |
</TR> |
| 349 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 350 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 351 |
<CODE> void</CODE></FONT></TD> |
| 352 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#setOperationName(javax.xml.namespace.QName)">setOperationName</A></B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> operationName)</CODE> |
| 353 |
|
| 354 |
<BR> |
| 355 |
Sets the name of the operation to be invoked using this |
| 356 |
<code>Call</code> instance.</TD> |
| 357 |
</TR> |
| 358 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 359 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 360 |
<CODE> void</CODE></FONT></TD> |
| 361 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#setPortTypeName(javax.xml.namespace.QName)">setPortTypeName</A></B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> portType)</CODE> |
| 362 |
|
| 363 |
<BR> |
| 364 |
Sets the qualified name of the port type.</TD> |
| 365 |
</TR> |
| 366 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 367 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 368 |
<CODE> void</CODE></FONT></TD> |
| 369 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A></B>(java.lang.String name, |
| 370 |
java.lang.Object value)</CODE> |
| 371 |
|
| 372 |
<BR> |
| 373 |
Sets the value for a named property.</TD> |
| 374 |
</TR> |
| 375 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 376 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 377 |
<CODE> void</CODE></FONT></TD> |
| 378 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#setReturnType(javax.xml.namespace.QName)">setReturnType</A></B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType)</CODE> |
| 379 |
|
| 380 |
<BR> |
| 381 |
Sets the return type for a specific operation.</TD> |
| 382 |
</TR> |
| 383 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 384 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 385 |
<CODE> void</CODE></FONT></TD> |
| 386 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#setReturnType(javax.xml.namespace.QName, java.lang.Class)">setReturnType</A></B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType, |
| 387 |
java.lang.Class javaType)</CODE> |
| 388 |
|
| 389 |
<BR> |
| 390 |
Sets the return type for a specific operation.</TD> |
| 391 |
</TR> |
| 392 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 393 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 394 |
<CODE> void</CODE></FONT></TD> |
| 395 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Call.html#setTargetEndpointAddress(java.lang.String)">setTargetEndpointAddress</A></B>(java.lang.String address)</CODE> |
| 396 |
|
| 397 |
<BR> |
| 398 |
Sets the address of the target service endpoint.</TD> |
| 399 |
</TR> |
| 400 |
</TABLE> |
| 401 |
|
| 402 |
<P> |
| 403 |
|
| 404 |
<!-- ============ FIELD DETAIL =========== --> |
| 405 |
|
| 406 |
<A NAME="field_detail"><!-- --></A> |
| 407 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 408 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 409 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 410 |
<B>Field Detail</B></FONT></TD> |
| 411 |
</TR> |
| 412 |
</TABLE> |
| 413 |
|
| 414 |
<A NAME="USERNAME_PROPERTY"><!-- --></A><H3> |
| 415 |
USERNAME_PROPERTY</H3> |
| 416 |
<PRE> |
| 417 |
public static final java.lang.String <B>USERNAME_PROPERTY</B></PRE> |
| 418 |
<DL> |
| 419 |
<DD>Standard property: User name for authentication |
| 420 |
<p>Type: <code>java.lang.String |
| 421 |
<P> |
| 422 |
<DL> |
| 423 |
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.xml.rpc.Call.USERNAME_PROPERTY">Constant Field Values</A></DL> |
| 424 |
</DL> |
| 425 |
<HR> |
| 426 |
|
| 427 |
<A NAME="PASSWORD_PROPERTY"><!-- --></A><H3> |
| 428 |
PASSWORD_PROPERTY</H3> |
| 429 |
<PRE> |
| 430 |
public static final java.lang.String <B>PASSWORD_PROPERTY</B></PRE> |
| 431 |
<DL> |
| 432 |
<DD>Standard property: Password for authentication |
| 433 |
<p>Type: <code>java.lang.String</code> |
| 434 |
<P> |
| 435 |
<DL> |
| 436 |
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.xml.rpc.Call.PASSWORD_PROPERTY">Constant Field Values</A></DL> |
| 437 |
</DL> |
| 438 |
<HR> |
| 439 |
|
| 440 |
<A NAME="OPERATION_STYLE_PROPERTY"><!-- --></A><H3> |
| 441 |
OPERATION_STYLE_PROPERTY</H3> |
| 442 |
<PRE> |
| 443 |
public static final java.lang.String <B>OPERATION_STYLE_PROPERTY</B></PRE> |
| 444 |
<DL> |
| 445 |
<DD>Standard property for operation style. This property is |
| 446 |
set to "rpc" if the operation style is rpc; "document" |
| 447 |
if the operation style is document. |
| 448 |
<p>Type: <code>java.lang.String</code> |
| 449 |
<P> |
| 450 |
<DL> |
| 451 |
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.xml.rpc.Call.OPERATION_STYLE_PROPERTY">Constant Field Values</A></DL> |
| 452 |
</DL> |
| 453 |
<HR> |
| 454 |
|
| 455 |
<A NAME="SOAPACTION_USE_PROPERTY"><!-- --></A><H3> |
| 456 |
SOAPACTION_USE_PROPERTY</H3> |
| 457 |
<PRE> |
| 458 |
public static final java.lang.String <B>SOAPACTION_USE_PROPERTY</B></PRE> |
| 459 |
<DL> |
| 460 |
<DD>Standard property for SOAPAction. This boolean property |
| 461 |
indicates whether or not SOAPAction is to be used. The |
| 462 |
default value of this property is false indicating that |
| 463 |
the SOAPAction is not used. |
| 464 |
<p>Type: <code>java.lang.Boolean</code> |
| 465 |
<P> |
| 466 |
<DL> |
| 467 |
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.xml.rpc.Call.SOAPACTION_USE_PROPERTY">Constant Field Values</A></DL> |
| 468 |
</DL> |
| 469 |
<HR> |
| 470 |
|
| 471 |
<A NAME="SOAPACTION_URI_PROPERTY"><!-- --></A><H3> |
| 472 |
SOAPACTION_URI_PROPERTY</H3> |
| 473 |
<PRE> |
| 474 |
public static final java.lang.String <B>SOAPACTION_URI_PROPERTY</B></PRE> |
| 475 |
<DL> |
| 476 |
<DD>Standard property for SOAPAction. Indicates the SOAPAction |
| 477 |
URI if the <code>javax.xml.rpc.soap.http.soapaction.use</code> |
| 478 |
property is set to <code>true</code>. |
| 479 |
<p>Type: <code>java.lang.String</code> |
| 480 |
<P> |
| 481 |
<DL> |
| 482 |
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.xml.rpc.Call.SOAPACTION_URI_PROPERTY">Constant Field Values</A></DL> |
| 483 |
</DL> |
| 484 |
<HR> |
| 485 |
|
| 486 |
<A NAME="ENCODINGSTYLE_URI_PROPERTY"><!-- --></A><H3> |
| 487 |
ENCODINGSTYLE_URI_PROPERTY</H3> |
| 488 |
<PRE> |
| 489 |
public static final java.lang.String <B>ENCODINGSTYLE_URI_PROPERTY</B></PRE> |
| 490 |
<DL> |
| 491 |
<DD>Standard property for encoding Style: Encoding style specified |
| 492 |
as a namespace URI. The default value is the SOAP 1.1 encoding |
| 493 |
<code>http://schemas.xmlsoap.org/soap/encoding/</code> |
| 494 |
<p>Type: <code>java.lang.String</code> |
| 495 |
<P> |
| 496 |
<DL> |
| 497 |
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.xml.rpc.Call.ENCODINGSTYLE_URI_PROPERTY">Constant Field Values</A></DL> |
| 498 |
</DL> |
| 499 |
<HR> |
| 500 |
|
| 501 |
<A NAME="SESSION_MAINTAIN_PROPERTY"><!-- --></A><H3> |
| 502 |
SESSION_MAINTAIN_PROPERTY</H3> |
| 503 |
<PRE> |
| 504 |
public static final java.lang.String <B>SESSION_MAINTAIN_PROPERTY</B></PRE> |
| 505 |
<DL> |
| 506 |
<DD>Standard property: This boolean property is used by a service |
| 507 |
client to indicate whether or not it wants to participate in |
| 508 |
a session with a service endpoint. If this property is set to |
| 509 |
true, the service client indicates that it wants the session |
| 510 |
to be maintained. If set to false, the session is not maintained. |
| 511 |
The default value for this property is <code>false</code>. |
| 512 |
<p>Type: <code>java.lang.Boolean</code> |
| 513 |
<P> |
| 514 |
<DL> |
| 515 |
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.xml.rpc.Call.SESSION_MAINTAIN_PROPERTY">Constant Field Values</A></DL> |
| 516 |
</DL> |
| 517 |
|
| 518 |
<!-- ========= CONSTRUCTOR DETAIL ======== --> |
| 519 |
|
| 520 |
|
| 521 |
<!-- ============ METHOD DETAIL ========== --> |
| 522 |
|
| 523 |
<A NAME="method_detail"><!-- --></A> |
| 524 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 525 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 526 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 527 |
<B>Method Detail</B></FONT></TD> |
| 528 |
</TR> |
| 529 |
</TABLE> |
| 530 |
|
| 531 |
<A NAME="isParameterAndReturnSpecRequired(javax.xml.namespace.QName)"><!-- --></A><H3> |
| 532 |
isParameterAndReturnSpecRequired</H3> |
| 533 |
<PRE> |
| 534 |
public boolean <B>isParameterAndReturnSpecRequired</B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> operationName)</PRE> |
| 535 |
<DL> |
| 536 |
<DD>Indicates whether <code>addParameter</code> and |
| 537 |
<code>setReturnType</code> methods |
| 538 |
are to be invoked to specify the parameter and return type |
| 539 |
specification for a specific operation. |
| 540 |
<P> |
| 541 |
<DD><DL> |
| 542 |
<DT><B>Parameters:</B><DD><CODE>operationName</CODE> - Qualified name of the operation |
| 543 |
<DT><B>Returns:</B><DD>Returns true if the Call implementation class |
| 544 |
requires addParameter and setReturnType to be |
| 545 |
invoked in the client code for the specified |
| 546 |
operation. This method returns false otherwise.</DL> |
| 547 |
</DD> |
| 548 |
</DL> |
| 549 |
<HR> |
| 550 |
|
| 551 |
<A NAME="addParameter(java.lang.String, javax.xml.namespace.QName, javax.xml.rpc.ParameterMode)"><!-- --></A><H3> |
| 552 |
addParameter</H3> |
| 553 |
<PRE> |
| 554 |
public void <B>addParameter</B>(java.lang.String paramName, |
| 555 |
<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType, |
| 556 |
<A HREF="../../../javax/xml/rpc/ParameterMode.html" title="class in javax.xml.rpc">ParameterMode</A> parameterMode)</PRE> |
| 557 |
<DL> |
| 558 |
<DD>Adds a parameter type and mode for a specific operation. |
| 559 |
Note that the client code may not call any |
| 560 |
<code>addParameter</code> and <code>setReturnType</code> |
| 561 |
methods before calling the <code>invoke</code> method. In |
| 562 |
this case, the Call implementation class determines the |
| 563 |
parameter types by using reflection on parameters, using |
| 564 |
the WSDL description and configured type mapping registry. |
| 565 |
<P> |
| 566 |
<DD><DL> |
| 567 |
<DT><B>Parameters:</B><DD><CODE>paramName</CODE> - Name of the parameter<DD><CODE>xmlType</CODE> - XML datatype of the parameter<DD><CODE>parameterMode</CODE> - Mode of the parameter-whether |
| 568 |
<code>ParameterMode.IN</code>, |
| 569 |
<code>ParameterMode.OUT</code>, |
| 570 |
or <code>ParameterMode.INOUT |
| 571 |
<DT><B>Throws:</B> |
| 572 |
<DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - This exception may |
| 573 |
be thrown if the method <code>isParameterAndReturnSpecRequired</code> |
| 574 |
returns <code>false</code> for this operation. |
| 575 |
<DD><CODE>java.lang.IllegalArgumentException</CODE> - If any illegal |
| 576 |
parameter name or XML type is specified</DL> |
| 577 |
</DD> |
| 578 |
</DL> |
| 579 |
<HR> |
| 580 |
|
| 581 |
<A NAME="addParameter(java.lang.String, javax.xml.namespace.QName, java.lang.Class, javax.xml.rpc.ParameterMode)"><!-- --></A><H3> |
| 582 |
addParameter</H3> |
| 583 |
<PRE> |
| 584 |
public void <B>addParameter</B>(java.lang.String paramName, |
| 585 |
<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType, |
| 586 |
java.lang.Class javaType, |
| 587 |
<A HREF="../../../javax/xml/rpc/ParameterMode.html" title="class in javax.xml.rpc">ParameterMode</A> parameterMode)</PRE> |
| 588 |
<DL> |
| 589 |
<DD>Adds a parameter type and mode for a specific operation. |
| 590 |
This method is used to specify the Java type for either |
| 591 |
OUT or INOUT parameters. |
| 592 |
<P> |
| 593 |
<DD><DL> |
| 594 |
<DT><B>Parameters:</B><DD><CODE>paramName</CODE> - Name of the parameter<DD><CODE>xmlType</CODE> - XML datatype of the parameter<DD><CODE>javaType</CODE> - The Java class of the parameter<DD><CODE>parameterMode</CODE> - Mode of the parameter-whether |
| 595 |
ParameterMode.IN, OUT or INOUT |
| 596 |
<DT><B>Throws:</B> |
| 597 |
<DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - <ul> |
| 598 |
|
| 599 |
<li>This exception may be thrown if this method is |
| 600 |
invoked when the method <code>isParameterAndReturnSpecRequired</code> |
| 601 |
returns <code>false</code>. |
| 602 |
<li>If specified XML type and Java type mapping |
| 603 |
is not valid. For example, <code>TypeMappingRegistry</code> |
| 604 |
has no serializers for this mapping. |
| 605 |
</ul> |
| 606 |
<DD><CODE>java.lang.IllegalArgumentException</CODE> - If any illegal |
| 607 |
parameter name or XML type is specified |
| 608 |
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - If this |
| 609 |
method is not supported</DL> |
| 610 |
</DD> |
| 611 |
</DL> |
| 612 |
<HR> |
| 613 |
|
| 614 |
<A NAME="getParameterTypeByName(java.lang.String)"><!-- --></A><H3> |
| 615 |
getParameterTypeByName</H3> |
| 616 |
<PRE> |
| 617 |
public <A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> <B>getParameterTypeByName</B>(java.lang.String paramName)</PRE> |
| 618 |
<DL> |
| 619 |
<DD>Gets the XML type of a parameter by name. |
| 620 |
<P> |
| 621 |
<DD><DL> |
| 622 |
<DT><B>Parameters:</B><DD><CODE>paramName</CODE> - name of the parameter |
| 623 |
<DT><B>Returns:</B><DD>Returns XML type for the specified parameter</DL> |
| 624 |
</DD> |
| 625 |
</DL> |
| 626 |
<HR> |
| 627 |
|
| 628 |
<A NAME="setReturnType(javax.xml.namespace.QName)"><!-- --></A><H3> |
| 629 |
setReturnType</H3> |
| 630 |
<PRE> |
| 631 |
public void <B>setReturnType</B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType)</PRE> |
| 632 |
<DL> |
| 633 |
<DD>Sets the return type for a specific operation. Invoking |
| 634 |
<code>setReturnType(null)</code> removes the return |
| 635 |
type for this Call object. |
| 636 |
<P> |
| 637 |
<DD><DL> |
| 638 |
<DT><B>Parameters:</B><DD><CODE>xmlType</CODE> - XML data type of the return value |
| 639 |
<DT><B>Throws:</B> |
| 640 |
<DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - This exception |
| 641 |
may be thrown when the method |
| 642 |
<code>isParameterAndReturnSpecRequired</code> returns |
| 643 |
<code>false</code>. |
| 644 |
<DD><CODE>java.lang.IllegalArgumentException</CODE> - If an illegal |
| 645 |
XML type is specified</DL> |
| 646 |
</DD> |
| 647 |
</DL> |
| 648 |
<HR> |
| 649 |
|
| 650 |
<A NAME="setReturnType(javax.xml.namespace.QName, java.lang.Class)"><!-- --></A><H3> |
| 651 |
setReturnType</H3> |
| 652 |
<PRE> |
| 653 |
public void <B>setReturnType</B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType, |
| 654 |
java.lang.Class javaType)</PRE> |
| 655 |
<DL> |
| 656 |
<DD>Sets the return type for a specific operation. |
| 657 |
<P> |
| 658 |
<DD><DL> |
| 659 |
<DT><B>Parameters:</B><DD><CODE>xmlType</CODE> - XML data type of the return value<DD><CODE>javaType</CODE> - Java class of the return value |
| 660 |
<DT><B>Throws:</B> |
| 661 |
<DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - <ul> |
| 662 |
<li>This exception may be thrown if this method is |
| 663 |
invoked when the method <code>isParameterAndReturnSpecRequired</code> |
| 664 |
returns <code>false</code>. |
| 665 |
<li>If XML type and Java type cannot be mapped |
| 666 |
using the standard type mapping or TypeMapping |
| 667 |
registry |
| 668 |
</ul> |
| 669 |
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - If this |
| 670 |
method is not supported |
| 671 |
<DD><CODE>java.lang.IllegalArgumentException</CODE> - If an illegal |
| 672 |
XML type is specified</DL> |
| 673 |
</DD> |
| 674 |
</DL> |
| 675 |
<HR> |
| 676 |
|
| 677 |
<A NAME="getReturnType()"><!-- --></A><H3> |
| 678 |
getReturnType</H3> |
| 679 |
<PRE> |
| 680 |
public <A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> <B>getReturnType</B>()</PRE> |
| 681 |
<DL> |
| 682 |
<DD>Gets the return type for a specific operation. |
| 683 |
<P> |
| 684 |
<DD><DL> |
| 685 |
|
| 686 |
<DT><B>Returns:</B><DD>the XML type for the return value</DL> |
| 687 |
</DD> |
| 688 |
</DL> |
| 689 |
<HR> |
| 690 |
|
| 691 |
<A NAME="removeAllParameters()"><!-- --></A><H3> |
| 692 |
removeAllParameters</H3> |
| 693 |
<PRE> |
| 694 |
public void <B>removeAllParameters</B>()</PRE> |
| 695 |
<DL> |
| 696 |
<DD>Removes all specified parameters from this <code>Call</code> instance. |
| 697 |
Note that this method removes only the parameters and not |
| 698 |
the return type. The <code>setReturnType(null)</code> is |
| 699 |
used to remove the return type. |
| 700 |
<P> |
| 701 |
<DD><DL> |
| 702 |
|
| 703 |
<DT><B>Throws:</B> |
| 704 |
<DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - This exception may be |
| 705 |
thrown If this method is called when the method |
| 706 |
<code>isParameterAndReturnSpecRequired</code> |
| 707 |
returns <code>false</code> for this Call's operation.</DL> |
| 708 |
</DD> |
| 709 |
</DL> |
| 710 |
<HR> |
| 711 |
|
| 712 |
<A NAME="getOperationName()"><!-- --></A><H3> |
| 713 |
getOperationName</H3> |
| 714 |
<PRE> |
| 715 |
public <A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> <B>getOperationName</B>()</PRE> |
| 716 |
<DL> |
| 717 |
<DD>Gets the name of the operation to be invoked using this Call instance. |
| 718 |
<P> |
| 719 |
<DD><DL> |
| 720 |
|
| 721 |
<DT><B>Returns:</B><DD>Qualified name of the operation</DL> |
| 722 |
</DD> |
| 723 |
</DL> |
| 724 |
<HR> |
| 725 |
|
| 726 |
<A NAME="setOperationName(javax.xml.namespace.QName)"><!-- --></A><H3> |
| 727 |
setOperationName</H3> |
| 728 |
<PRE> |
| 729 |
public void <B>setOperationName</B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> operationName)</PRE> |
| 730 |
<DL> |
| 731 |
<DD>Sets the name of the operation to be invoked using this |
| 732 |
<code>Call</code> instance. |
| 733 |
<P> |
| 734 |
<DD><DL> |
| 735 |
<DT><B>Parameters:</B><DD><CODE>operationName</CODE> - QName of the operation to be |
| 736 |
invoked using the Call instance</DL> |
| 737 |
</DD> |
| 738 |
</DL> |
| 739 |
<HR> |
| 740 |
|
| 741 |
<A NAME="getPortTypeName()"><!-- --></A><H3> |
| 742 |
getPortTypeName</H3> |
| 743 |
<PRE> |
| 744 |
public <A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> <B>getPortTypeName</B>()</PRE> |
| 745 |
<DL> |
| 746 |
<DD>Gets the qualified name of the port type. |
| 747 |
<P> |
| 748 |
<DD><DL> |
| 749 |
|
| 750 |
<DT><B>Returns:</B><DD>Qualified name of the port type</DL> |
| 751 |
</DD> |
| 752 |
</DL> |
| 753 |
<HR> |
| 754 |
|
| 755 |
<A NAME="setPortTypeName(javax.xml.namespace.QName)"><!-- --></A><H3> |
| 756 |
setPortTypeName</H3> |
| 757 |
<PRE> |
| 758 |
public void <B>setPortTypeName</B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> portType)</PRE> |
| 759 |
<DL> |
| 760 |
<DD>Sets the qualified name of the port type. |
| 761 |
<P> |
| 762 |
<DD><DL> |
| 763 |
<DT><B>Parameters:</B><DD><CODE>portType</CODE> - Qualified name of the port type</DL> |
| 764 |
</DD> |
| 765 |
</DL> |
| 766 |
<HR> |
| 767 |
|
| 768 |
<A NAME="setTargetEndpointAddress(java.lang.String)"><!-- --></A><H3> |
| 769 |
setTargetEndpointAddress</H3> |
| 770 |
<PRE> |
| 771 |
public void <B>setTargetEndpointAddress</B>(java.lang.String address)</PRE> |
| 772 |
<DL> |
| 773 |
<DD>Sets the address of the target service endpoint. |
| 774 |
This address must correspond to the transport specified |
| 775 |
in the binding for this <code>Call</code> instance. |
| 776 |
<P> |
| 777 |
<DD><DL> |
| 778 |
<DT><B>Parameters:</B><DD><CODE>address</CODE> - Address of the target service endpoint; |
| 779 |
specified as an URI</DL> |
| 780 |
</DD> |
| 781 |
</DL> |
| 782 |
<HR> |
| 783 |
|
| 784 |
<A NAME="getTargetEndpointAddress()"><!-- --></A><H3> |
| 785 |
getTargetEndpointAddress</H3> |
| 786 |
<PRE> |
| 787 |
public java.lang.String <B>getTargetEndpointAddress</B>()</PRE> |
| 788 |
<DL> |
| 789 |
<DD>Gets the address of a target service endpoint. |
| 790 |
<P> |
| 791 |
<DD><DL> |
| 792 |
|
| 793 |
<DT><B>Returns:</B><DD>Endpoint address of the target service port as an URI</DL> |
| 794 |
</DD> |
| 795 |
</DL> |
| 796 |
<HR> |
| 797 |
|
| 798 |
<A NAME="setProperty(java.lang.String, java.lang.Object)"><!-- --></A><H3> |
| 799 |
setProperty</H3> |
| 800 |
<PRE> |
| 801 |
public void <B>setProperty</B>(java.lang.String name, |
| 802 |
java.lang.Object value)</PRE> |
| 803 |
<DL> |
| 804 |
<DD>Sets the value for a named property. JAX-RPC specification |
| 805 |
specifies a standard set of properties that may be passed |
| 806 |
to the <code>Call.setProperty</code> method. |
| 807 |
<P> |
| 808 |
<DD><DL> |
| 809 |
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the property<DD><CODE>value</CODE> - Value of the property |
| 810 |
<DT><B>Throws:</B> |
| 811 |
<DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - <ul> |
| 812 |
<li>If an optional standard property name is |
| 813 |
specified, however this <code>Call</code> implementation |
| 814 |
class does not support the configuration of |
| 815 |
this property. |
| 816 |
<li>If an invalid (or unsupported) property name is |
| 817 |
specified or if a value of mismatched property |
| 818 |
type is passed. |
| 819 |
<li>If there is any error in the configuration of |
| 820 |
a valid property. |
| 821 |
</ul></DL> |
| 822 |
</DD> |
| 823 |
</DL> |
| 824 |
<HR> |
| 825 |
|
| 826 |
<A NAME="getProperty(java.lang.String)"><!-- --></A><H3> |
| 827 |
getProperty</H3> |
| 828 |
<PRE> |
| 829 |
public java.lang.Object <B>getProperty</B>(java.lang.String name)</PRE> |
| 830 |
<DL> |
| 831 |
<DD>Gets the value of a named property. |
| 832 |
<P> |
| 833 |
<DD><DL> |
| 834 |
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the property |
| 835 |
<DT><B>Returns:</B><DD>Value of the named property |
| 836 |
<DT><B>Throws:</B> |
| 837 |
<DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - if an invalid or |
| 838 |
unsupported property name is passed.</DL> |
| 839 |
</DD> |
| 840 |
</DL> |
| 841 |
<HR> |
| 842 |
|
| 843 |
<A NAME="removeProperty(java.lang.String)"><!-- --></A><H3> |
| 844 |
removeProperty</H3> |
| 845 |
<PRE> |
| 846 |
public void <B>removeProperty</B>(java.lang.String name)</PRE> |
| 847 |
<DL> |
| 848 |
<DD>Removes a named property. |
| 849 |
<P> |
| 850 |
<DD><DL> |
| 851 |
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the property |
| 852 |
<DT><B>Throws:</B> |
| 853 |
<DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - if an invalid or |
| 854 |
unsupported property name is passed.</DL> |
| 855 |
</DD> |
| 856 |
</DL> |
| 857 |
<HR> |
| 858 |
|
| 859 |
<A NAME="getPropertyNames()"><!-- --></A><H3> |
| 860 |
getPropertyNames</H3> |
| 861 |
<PRE> |
| 862 |
public java.util.Iterator <B>getPropertyNames</B>()</PRE> |
| 863 |
<DL> |
| 864 |
<DD>Gets the names of configurable properties supported by |
| 865 |
this <code>Call</code> object. |
| 866 |
<P> |
| 867 |
<DD><DL> |
| 868 |
|
| 869 |
<DT><B>Returns:</B><DD>Iterator for the property names</DL> |
| 870 |
</DD> |
| 871 |
</DL> |
| 872 |
<HR> |
| 873 |
|
| 874 |
<A NAME="invoke(java.lang.Object[])"><!-- --></A><H3> |
| 875 |
invoke</H3> |
| 876 |
<PRE> |
| 877 |
public java.lang.Object <B>invoke</B>(java.lang.Object[] inputParams) |
| 878 |
throws java.rmi.RemoteException</PRE> |
| 879 |
<DL> |
| 880 |
<DD>Invokes a specific operation using a synchronous request-response |
| 881 |
interaction mode. |
| 882 |
<P> |
| 883 |
<DD><DL> |
| 884 |
<DT><B>Parameters:</B><DD><CODE>inputParams</CODE> - Object[]--Parameters for this invocation. This |
| 885 |
includes only the input params |
| 886 |
<DT><B>Returns:</B><DD>Returns the return value or <code>null</code> |
| 887 |
<DT><B>Throws:</B> |
| 888 |
<DD><CODE>java.rmi.RemoteException</CODE> - if there is any error in the remote |
| 889 |
method invocation or if the Call |
| 890 |
object is not configured properly. |
| 891 |
<DD><CODE><A HREF="../../../javax/xml/rpc/soap/SOAPFaultException.html" title="class in javax.xml.rpc.soap">SOAPFaultException</A></CODE> - Indicates a SOAP fault |
| 892 |
<DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - <ul> |
| 893 |
|
| 894 |
<li>If there is an error in the configuration of the |
| 895 |
<code>Call</code> object |
| 896 |
<li>If <code>inputParams</code> do not match the required parameter |
| 897 |
set (as specified through the <code>addParameter</code> |
| 898 |
invocations or in the corresponding WSDL) |
| 899 |
<li>If parameters and return type are incorrectly |
| 900 |
specified |
| 901 |
</ul></DL> |
| 902 |
</DD> |
| 903 |
</DL> |
| 904 |
<HR> |
| 905 |
|
| 906 |
<A NAME="invoke(javax.xml.namespace.QName, java.lang.Object[])"><!-- --></A><H3> |
| 907 |
invoke</H3> |
| 908 |
<PRE> |
| 909 |
public java.lang.Object <B>invoke</B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> operationName, |
| 910 |
java.lang.Object[] inputParams) |
| 911 |
throws java.rmi.RemoteException</PRE> |
| 912 |
<DL> |
| 913 |
<DD>Invokes a specific operation using a synchronous request-response |
| 914 |
interaction mode. |
| 915 |
<P> |
| 916 |
<DD><DL> |
| 917 |
<DT><B>Parameters:</B><DD><CODE>operationName</CODE> - QName of the operation<DD><CODE>inputParams</CODE> - Object[]--Parameters for this invocation. This |
| 918 |
includes only the input params. |
| 919 |
<DT><B>Returns:</B><DD>Return value or null |
| 920 |
<DT><B>Throws:</B> |
| 921 |
<DD><CODE>java.rmi.RemoteException</CODE> - if there is any error in the |
| 922 |
remote method invocation. |
| 923 |
<DD><CODE><A HREF="../../../javax/xml/rpc/soap/SOAPFaultException.html" title="class in javax.xml.rpc.soap">SOAPFaultException</A></CODE> - Indicates a SOAP fault |
| 924 |
<DD><CODE><A HREF="../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - <ul> |
| 925 |
<li>If there is an error in the configuration of the |
| 926 |
<code>Cal</code>l object |
| 927 |
<li>If <code>inputParam</code>s do not match the required parameter |
| 928 |
set (as specified through the <code>addParameter</code> |
| 929 |
invocations or in the corresponding WSDL) |
| 930 |
<li>If parameters and return type are incorrectly |
| 931 |
specified |
| 932 |
</ul></DL> |
| 933 |
</DD> |
| 934 |
</DL> |
| 935 |
<HR> |
| 936 |
|
| 937 |
<A NAME="invokeOneWay(java.lang.Object[])"><!-- --></A><H3> |
| 938 |
invokeOneWay</H3> |
| 939 |
<PRE> |
| 940 |
public void <B>invokeOneWay</B>(java.lang.Object[] params)</PRE> |
| 941 |
<DL> |
| 942 |
<DD>Invokes a remote method using the one-way interaction mode. The |
| 943 |
client thread does not block waiting for the completion of the |
| 944 |
server processing for this remote method invocation. This method |
| 945 |
must not throw any remote exceptions. This method may throw a |
| 946 |
<code>JAXRPCException</code> during the processing of the one-way |
| 947 |
remote call. |
| 948 |
<P> |
| 949 |
<DD><DL> |
| 950 |
<DT><B>Parameters:</B><DD><CODE>params</CODE> - Object[]--Parameters for this invocation. This |
| 951 |
includes only the input params. |
| 952 |
<DT><B>Throws:</B> |
| 953 |
<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 |
| 954 |
configuration of the <code>Call</code> object (example: a |
| 955 |
non-void return type has been incorrectly specified for the |
| 956 |
one-way call) or if there is any error during the |
| 957 |
invocation of the one-way remote call</DL> |
| 958 |
</DD> |
| 959 |
</DL> |
| 960 |
<HR> |
| 961 |
|
| 962 |
<A NAME="getOutputParams()"><!-- --></A><H3> |
| 963 |
getOutputParams</H3> |
| 964 |
<PRE> |
| 965 |
public java.util.Map <B>getOutputParams</B>()</PRE> |
| 966 |
<DL> |
| 967 |
<DD>Returns a <code>Map</code> of {name, value} for the output parameters of |
| 968 |
the last invoked operation. The parameter names in the |
| 969 |
returned Map are of type <code>java.lang.String</code>. |
| 970 |
<P> |
| 971 |
<DD><DL> |
| 972 |
|
| 973 |
<DT><B>Returns:</B><DD>Map Output parameters for the last <code>Call.invoke()</code>. |
| 974 |
Empty <code>Map</code> is returned if there are no output |
| 975 |
parameters. |
| 976 |
<DT><B>Throws:</B> |
| 977 |
<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 |
| 978 |
one-way operation or is invoked before any |
| 979 |
<code>invoke</code> method has been called.</DL> |
| 980 |
</DD> |
| 981 |
</DL> |
| 982 |
<HR> |
| 983 |
|
| 984 |
<A NAME="getOutputValues()"><!-- --></A><H3> |
| 985 |
getOutputValues</H3> |
| 986 |
<PRE> |
| 987 |
public java.util.List <B>getOutputValues</B>()</PRE> |
| 988 |
<DL> |
| 989 |
<DD>Returns a <code>List</code> values for the output parameters |
| 990 |
of the last invoked operation. |
| 991 |
<P> |
| 992 |
<DD><DL> |
| 993 |
|
| 994 |
<DT><B>Returns:</B><DD>java.util.List Values for the output parameters. An |
| 995 |
empty <code>List</code> is returned if there are |
| 996 |
no output values. |
| 997 |
<DT><B>Throws:</B> |
| 998 |
<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 |
| 999 |
one-way operation or is invoked before any |
| 1000 |
<code>invoke</code> method has been called.</DL> |
| 1001 |
</DD> |
| 1002 |
</DL> |
| 1003 |
<!-- ========= END OF CLASS DATA ========= --> |
| 1004 |
<HR> |
| 1005 |
|
| 1006 |
|
| 1007 |
<!-- ======= START OF BOTTOM NAVBAR ====== --> |
| 1008 |
<A NAME="navbar_bottom"><!-- --></A> |
| 1009 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 1010 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 1011 |
<TR> |
| 1012 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 1013 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
| 1014 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 1015 |
<TR ALIGN="center" VALIGN="top"> |
| 1016 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 1017 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 1018 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 1019 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Call.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 1020 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 1021 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 1022 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 1023 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 1024 |
</TR> |
| 1025 |
</TABLE> |
| 1026 |
</TD> |
| 1027 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 1028 |
</EM> |
| 1029 |
</TD> |
| 1030 |
</TR> |
| 1031 |
|
| 1032 |
<TR> |
| 1033 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 1034 |
PREV CLASS |
| 1035 |
<A HREF="../../../javax/xml/rpc/Service.html" title="interface in javax.xml.rpc"><B>NEXT CLASS</B></A></FONT></TD> |
| 1036 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 1037 |
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
| 1038 |
<A HREF="Call.html" target="_top"><B>NO FRAMES</B></A> |
| 1039 |
<SCRIPT type="text/javascript"> |
| 1040 |
<!-- |
| 1041 |
if(window==top) { |
| 1042 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 1043 |
} |
| 1044 |
//--> |
| 1045 |
</SCRIPT> |
| 1046 |
<NOSCRIPT> |
| 1047 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 1048 |
</NOSCRIPT> |
| 1049 |
|
| 1050 |
</FONT></TD> |
| 1051 |
</TR> |
| 1052 |
<TR> |
| 1053 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 1054 |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 1055 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 1056 |
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 1057 |
</TR> |
| 1058 |
</TABLE> |
| 1059 |
<A NAME="skip-navbar_bottom"></A> |
| 1060 |
<!-- ======== END OF BOTTOM NAVBAR ======= --> |
| 1061 |
|
| 1062 |
<HR> |
| 1063 |
Copyright © 2005 Apache Web Services Project. All Rights Reserved. |
| 1064 |
</BODY> |
| 1065 |
</HTML> |