| 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 |
Service (Axis API) |
| 8 |
</TITLE> |
| 9 |
|
| 10 |
<META NAME="keywords" CONTENT="javax.xml.rpc.Service 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="Service (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/Service.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 |
<A HREF="../../../javax/xml/rpc/Call.html" title="interface in javax.xml.rpc"><B>PREV CLASS</B></A> |
| 54 |
<A HREF="../../../javax/xml/rpc/Stub.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="Service.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 74 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 75 |
DETAIL: FIELD | 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 Service</H2> |
| 88 |
<DL> |
| 89 |
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/apache/axis/client/Service.html" title="class in org.apache.axis.client">Service</A></DD> |
| 90 |
</DL> |
| 91 |
<HR> |
| 92 |
<DL> |
| 93 |
<DT>public interface <B>Service</B></DL> |
| 94 |
|
| 95 |
<P> |
| 96 |
<code>Service</code> class acts as a factory of the following: |
| 97 |
<ul> |
| 98 |
<li>Dynamic proxy for the target service endpoint. |
| 99 |
<li>Instance of the type <code>javax.xml.rpc.Call</code> for |
| 100 |
the dynamic invocation of a remote operation on the |
| 101 |
target service endpoint. |
| 102 |
<li>Instance of a generated stub class |
| 103 |
</ul> |
| 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 |
|
| 120 |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| 121 |
|
| 122 |
|
| 123 |
<!-- ========== METHOD SUMMARY =========== --> |
| 124 |
|
| 125 |
<A NAME="method_summary"><!-- --></A> |
| 126 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 127 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 128 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 129 |
<B>Method Summary</B></FONT></TD> |
| 130 |
</TR> |
| 131 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 132 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 133 |
<CODE> <A HREF="../../../javax/xml/rpc/Call.html" title="interface in javax.xml.rpc">Call</A></CODE></FONT></TD> |
| 134 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Service.html#createCall()">createCall</A></B>()</CODE> |
| 135 |
|
| 136 |
<BR> |
| 137 |
Creates a <code>Call</code> object not associated with |
| 138 |
specific operation or target service endpoint.</TD> |
| 139 |
</TR> |
| 140 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 141 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 142 |
<CODE> <A HREF="../../../javax/xml/rpc/Call.html" title="interface in javax.xml.rpc">Call</A></CODE></FONT></TD> |
| 143 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Service.html#createCall(javax.xml.namespace.QName)">createCall</A></B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> portName)</CODE> |
| 144 |
|
| 145 |
<BR> |
| 146 |
Creates a <code>Call</code> instance.</TD> |
| 147 |
</TR> |
| 148 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 149 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 150 |
<CODE> <A HREF="../../../javax/xml/rpc/Call.html" title="interface in javax.xml.rpc">Call</A></CODE></FONT></TD> |
| 151 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Service.html#createCall(javax.xml.namespace.QName, javax.xml.namespace.QName)">createCall</A></B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> portName, |
| 152 |
<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> operationName)</CODE> |
| 153 |
|
| 154 |
<BR> |
| 155 |
Creates a <code>Call</code> instance.</TD> |
| 156 |
</TR> |
| 157 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 158 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 159 |
<CODE> <A HREF="../../../javax/xml/rpc/Call.html" title="interface in javax.xml.rpc">Call</A></CODE></FONT></TD> |
| 160 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Service.html#createCall(javax.xml.namespace.QName, java.lang.String)">createCall</A></B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> portName, |
| 161 |
java.lang.String operationName)</CODE> |
| 162 |
|
| 163 |
<BR> |
| 164 |
Creates a <code>Call</code> instance.</TD> |
| 165 |
</TR> |
| 166 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 167 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 168 |
<CODE> <A HREF="../../../javax/xml/rpc/Call.html" title="interface in javax.xml.rpc">Call</A>[]</CODE></FONT></TD> |
| 169 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Service.html#getCalls(javax.xml.namespace.QName)">getCalls</A></B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> portName)</CODE> |
| 170 |
|
| 171 |
<BR> |
| 172 |
Gets an array of preconfigured <code>Call</code> objects for |
| 173 |
invoking operations on the specified port.</TD> |
| 174 |
</TR> |
| 175 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 176 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 177 |
<CODE> <A HREF="../../../javax/xml/rpc/handler/HandlerRegistry.html" title="interface in javax.xml.rpc.handler">HandlerRegistry</A></CODE></FONT></TD> |
| 178 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Service.html#getHandlerRegistry()">getHandlerRegistry</A></B>()</CODE> |
| 179 |
|
| 180 |
<BR> |
| 181 |
Returns the configured <code>HandlerRegistry</code> instance |
| 182 |
for this <code>Service</code> instance.</TD> |
| 183 |
</TR> |
| 184 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 185 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 186 |
<CODE> java.rmi.Remote</CODE></FONT></TD> |
| 187 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Service.html#getPort(java.lang.Class)">getPort</A></B>(java.lang.Class serviceEndpointInterface)</CODE> |
| 188 |
|
| 189 |
<BR> |
| 190 |
The getPort method returns either an instance of a generated |
| 191 |
stub implementation class or a dynamic proxy.</TD> |
| 192 |
</TR> |
| 193 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 194 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 195 |
<CODE> java.rmi.Remote</CODE></FONT></TD> |
| 196 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Service.html#getPort(javax.xml.namespace.QName, java.lang.Class)">getPort</A></B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> portName, |
| 197 |
java.lang.Class serviceEndpointInterface)</CODE> |
| 198 |
|
| 199 |
<BR> |
| 200 |
The getPort method returns either an instance of a generated |
| 201 |
stub implementation class or a dynamic proxy.</TD> |
| 202 |
</TR> |
| 203 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 204 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 205 |
<CODE> java.util.Iterator</CODE></FONT></TD> |
| 206 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Service.html#getPorts()">getPorts</A></B>()</CODE> |
| 207 |
|
| 208 |
<BR> |
| 209 |
Returns an <code>Iterator</code> for the list of |
| 210 |
<code>QName</code>s of service endpoints grouped by this |
| 211 |
service.</TD> |
| 212 |
</TR> |
| 213 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 214 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 215 |
<CODE> <A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A></CODE></FONT></TD> |
| 216 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Service.html#getServiceName()">getServiceName</A></B>()</CODE> |
| 217 |
|
| 218 |
<BR> |
| 219 |
Gets the name of this Service.</TD> |
| 220 |
</TR> |
| 221 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 222 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 223 |
<CODE> <A HREF="../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</A></CODE></FONT></TD> |
| 224 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Service.html#getTypeMappingRegistry()">getTypeMappingRegistry</A></B>()</CODE> |
| 225 |
|
| 226 |
<BR> |
| 227 |
Gets the <code>TypeMappingRegistry</code> for this |
| 228 |
<code>Service</code> object.</TD> |
| 229 |
</TR> |
| 230 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 231 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 232 |
<CODE> java.net.URL</CODE></FONT></TD> |
| 233 |
<TD><CODE><B><A HREF="../../../javax/xml/rpc/Service.html#getWSDLDocumentLocation()">getWSDLDocumentLocation</A></B>()</CODE> |
| 234 |
|
| 235 |
<BR> |
| 236 |
Gets location of the WSDL document for this Service.</TD> |
| 237 |
</TR> |
| 238 |
</TABLE> |
| 239 |
|
| 240 |
<P> |
| 241 |
|
| 242 |
<!-- ============ FIELD DETAIL =========== --> |
| 243 |
|
| 244 |
|
| 245 |
<!-- ========= CONSTRUCTOR DETAIL ======== --> |
| 246 |
|
| 247 |
|
| 248 |
<!-- ============ METHOD DETAIL ========== --> |
| 249 |
|
| 250 |
<A NAME="method_detail"><!-- --></A> |
| 251 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 252 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 253 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 254 |
<B>Method Detail</B></FONT></TD> |
| 255 |
</TR> |
| 256 |
</TABLE> |
| 257 |
|
| 258 |
<A NAME="getPort(javax.xml.namespace.QName, java.lang.Class)"><!-- --></A><H3> |
| 259 |
getPort</H3> |
| 260 |
<PRE> |
| 261 |
public java.rmi.Remote <B>getPort</B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> portName, |
| 262 |
java.lang.Class serviceEndpointInterface) |
| 263 |
throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE> |
| 264 |
<DL> |
| 265 |
<DD>The getPort method returns either an instance of a generated |
| 266 |
stub implementation class or a dynamic proxy. A service client |
| 267 |
uses this dynamic proxy to invoke operations on the target |
| 268 |
service endpoint. The <code>serviceEndpointInterface</code> |
| 269 |
specifies the service endpoint interface that is supported by |
| 270 |
the created dynamic proxy or stub instance. |
| 271 |
<P> |
| 272 |
<DD><DL> |
| 273 |
<DT><B>Parameters:</B><DD><CODE>portName</CODE> - Qualified name of the service endpoint in |
| 274 |
the WSDL service description<DD><CODE>serviceEndpointInterface</CODE> - Service endpoint interface |
| 275 |
supported by the dynamic proxy or stub |
| 276 |
instance |
| 277 |
<DT><B>Returns:</B><DD>java.rmi.Remote Stub instance or dynamic proxy that |
| 278 |
supports the specified service endpoint |
| 279 |
interface |
| 280 |
<DT><B>Throws:</B> |
| 281 |
<DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - This exception is thrown in the |
| 282 |
following cases: |
| 283 |
<ul> |
| 284 |
<li>If there is an error in creation of |
| 285 |
the dynamic proxy or stub instance |
| 286 |
<li>If there is any missing WSDL metadata |
| 287 |
as required by this method |
| 288 |
<li>Optionally, if an illegal |
| 289 |
<code>serviceEndpointInterface</code> |
| 290 |
or <code>portName</code> is specified |
| 291 |
</ul></DL> |
| 292 |
</DD> |
| 293 |
</DL> |
| 294 |
<HR> |
| 295 |
|
| 296 |
<A NAME="getPort(java.lang.Class)"><!-- --></A><H3> |
| 297 |
getPort</H3> |
| 298 |
<PRE> |
| 299 |
public java.rmi.Remote <B>getPort</B>(java.lang.Class serviceEndpointInterface) |
| 300 |
throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE> |
| 301 |
<DL> |
| 302 |
<DD>The getPort method returns either an instance of a generated |
| 303 |
stub implementation class or a dynamic proxy. The parameter |
| 304 |
<code>serviceEndpointInterface</code> specifies the service |
| 305 |
endpoint interface that is supported by the returned stub or |
| 306 |
proxy. In the implementation of this method, the JAX-RPC |
| 307 |
runtime system takes the responsibility of selecting a protocol |
| 308 |
binding (and a port) and configuring the stub accordingly. |
| 309 |
The returned <code>Stub</code> instance should not be |
| 310 |
reconfigured by the client. |
| 311 |
<P> |
| 312 |
<DD><DL> |
| 313 |
<DT><B>Parameters:</B><DD><CODE>serviceEndpointInterface</CODE> - Service endpoint interface |
| 314 |
<DT><B>Returns:</B><DD>Stub instance or dynamic proxy that supports the |
| 315 |
specified service endpoint interface |
| 316 |
<DT><B>Throws:</B> |
| 317 |
<DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - <ul> |
| 318 |
<li>If there is an error during creation |
| 319 |
of stub instance or dynamic proxy |
| 320 |
<li>If there is any missing WSDL metadata |
| 321 |
as required by this method |
| 322 |
<li>Optionally, if an illegal |
| 323 |
<code>serviceEndpointInterface</code> |
| 324 |
|
| 325 |
is specified |
| 326 |
</ul></DL> |
| 327 |
</DD> |
| 328 |
</DL> |
| 329 |
<HR> |
| 330 |
|
| 331 |
<A NAME="getCalls(javax.xml.namespace.QName)"><!-- --></A><H3> |
| 332 |
getCalls</H3> |
| 333 |
<PRE> |
| 334 |
public <A HREF="../../../javax/xml/rpc/Call.html" title="interface in javax.xml.rpc">Call</A>[] <B>getCalls</B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> portName) |
| 335 |
throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE> |
| 336 |
<DL> |
| 337 |
<DD>Gets an array of preconfigured <code>Call</code> objects for |
| 338 |
invoking operations on the specified port. There is one |
| 339 |
<code>Call</code> object per operation that can be invoked |
| 340 |
on the specified port. Each <code>Call</code> object is |
| 341 |
pre-configured and does not need to be configured using |
| 342 |
the setter methods on <code>Call</code> interface. |
| 343 |
|
| 344 |
<p>Each invocation of the <code>getCalls</code> method |
| 345 |
returns a new array of preconfigured <code>Call</code> |
| 346 |
|
| 347 |
objects |
| 348 |
|
| 349 |
<p>This method requires the <code>Service</code> implementation |
| 350 |
class to have access to the WSDL related metadata. |
| 351 |
<P> |
| 352 |
<DD><DL> |
| 353 |
<DT><B>Parameters:</B><DD><CODE>portName</CODE> - Qualified name for the target service endpoint |
| 354 |
<DT><B>Returns:</B><DD>Call[] Array of pre-configured Call objects |
| 355 |
<DT><B>Throws:</B> |
| 356 |
<DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - If this Service class does not |
| 357 |
have access to the required WSDL metadata |
| 358 |
or if an illegal <code>portName</code> is |
| 359 |
specified.</DL> |
| 360 |
</DD> |
| 361 |
</DL> |
| 362 |
<HR> |
| 363 |
|
| 364 |
<A NAME="createCall(javax.xml.namespace.QName)"><!-- --></A><H3> |
| 365 |
createCall</H3> |
| 366 |
<PRE> |
| 367 |
public <A HREF="../../../javax/xml/rpc/Call.html" title="interface in javax.xml.rpc">Call</A> <B>createCall</B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> portName) |
| 368 |
throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE> |
| 369 |
<DL> |
| 370 |
<DD>Creates a <code>Call</code> instance. |
| 371 |
<P> |
| 372 |
<DD><DL> |
| 373 |
<DT><B>Parameters:</B><DD><CODE>portName</CODE> - Qualified name for the target service endpoint |
| 374 |
<DT><B>Returns:</B><DD>Call instance |
| 375 |
<DT><B>Throws:</B> |
| 376 |
<DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - If any error in the creation of |
| 377 |
the <code>Call</code> object</DL> |
| 378 |
</DD> |
| 379 |
</DL> |
| 380 |
<HR> |
| 381 |
|
| 382 |
<A NAME="createCall(javax.xml.namespace.QName, javax.xml.namespace.QName)"><!-- --></A><H3> |
| 383 |
createCall</H3> |
| 384 |
<PRE> |
| 385 |
public <A HREF="../../../javax/xml/rpc/Call.html" title="interface in javax.xml.rpc">Call</A> <B>createCall</B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> portName, |
| 386 |
<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> operationName) |
| 387 |
throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE> |
| 388 |
<DL> |
| 389 |
<DD>Creates a <code>Call</code> instance. |
| 390 |
<P> |
| 391 |
<DD><DL> |
| 392 |
<DT><B>Parameters:</B><DD><CODE>portName</CODE> - Qualified name for the target service |
| 393 |
endpoint<DD><CODE>operationName</CODE> - Qualified Name of the operation for |
| 394 |
which this <code>Call</code> object is to |
| 395 |
be created. |
| 396 |
<DT><B>Returns:</B><DD>Call instance |
| 397 |
<DT><B>Throws:</B> |
| 398 |
<DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - If any error in the creation of |
| 399 |
the <code>Call</code> object</DL> |
| 400 |
</DD> |
| 401 |
</DL> |
| 402 |
<HR> |
| 403 |
|
| 404 |
<A NAME="createCall(javax.xml.namespace.QName, java.lang.String)"><!-- --></A><H3> |
| 405 |
createCall</H3> |
| 406 |
<PRE> |
| 407 |
public <A HREF="../../../javax/xml/rpc/Call.html" title="interface in javax.xml.rpc">Call</A> <B>createCall</B>(<A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> portName, |
| 408 |
java.lang.String operationName) |
| 409 |
throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE> |
| 410 |
<DL> |
| 411 |
<DD>Creates a <code>Call</code> instance. |
| 412 |
<P> |
| 413 |
<DD><DL> |
| 414 |
<DT><B>Parameters:</B><DD><CODE>portName</CODE> - Qualified name for the target service |
| 415 |
endpoint<DD><CODE>operationName</CODE> - Name of the operation for which this |
| 416 |
<code>Call</code> object is to be |
| 417 |
created. |
| 418 |
<DT><B>Returns:</B><DD>Call instance |
| 419 |
<DT><B>Throws:</B> |
| 420 |
<DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - If any error in the creation of |
| 421 |
the <code>Call</code> object</DL> |
| 422 |
</DD> |
| 423 |
</DL> |
| 424 |
<HR> |
| 425 |
|
| 426 |
<A NAME="createCall()"><!-- --></A><H3> |
| 427 |
createCall</H3> |
| 428 |
<PRE> |
| 429 |
public <A HREF="../../../javax/xml/rpc/Call.html" title="interface in javax.xml.rpc">Call</A> <B>createCall</B>() |
| 430 |
throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE> |
| 431 |
<DL> |
| 432 |
<DD>Creates a <code>Call</code> object not associated with |
| 433 |
specific operation or target service endpoint. This |
| 434 |
<code>Call</code> object needs to be configured using the |
| 435 |
setter methods on the <code>Call</code> interface. |
| 436 |
<P> |
| 437 |
<DD><DL> |
| 438 |
|
| 439 |
<DT><B>Returns:</B><DD>Call object |
| 440 |
<DT><B>Throws:</B> |
| 441 |
<DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - If any error in the creation of |
| 442 |
the <code>Call</code> object</DL> |
| 443 |
</DD> |
| 444 |
</DL> |
| 445 |
<HR> |
| 446 |
|
| 447 |
<A NAME="getServiceName()"><!-- --></A><H3> |
| 448 |
getServiceName</H3> |
| 449 |
<PRE> |
| 450 |
public <A HREF="../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> <B>getServiceName</B>()</PRE> |
| 451 |
<DL> |
| 452 |
<DD>Gets the name of this Service. |
| 453 |
<P> |
| 454 |
<DD><DL> |
| 455 |
|
| 456 |
<DT><B>Returns:</B><DD>Qualified name of this service</DL> |
| 457 |
</DD> |
| 458 |
</DL> |
| 459 |
<HR> |
| 460 |
|
| 461 |
<A NAME="getPorts()"><!-- --></A><H3> |
| 462 |
getPorts</H3> |
| 463 |
<PRE> |
| 464 |
public java.util.Iterator <B>getPorts</B>() |
| 465 |
throws <A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></PRE> |
| 466 |
<DL> |
| 467 |
<DD>Returns an <code>Iterator</code> for the list of |
| 468 |
<code>QName</code>s of service endpoints grouped by this |
| 469 |
service. |
| 470 |
<P> |
| 471 |
<DD><DL> |
| 472 |
|
| 473 |
<DT><B>Returns:</B><DD>Returns <code>java.util.Iterator</code> with elements |
| 474 |
of type <code>javax.xml.namespace.QName</code> |
| 475 |
<DT><B>Throws:</B> |
| 476 |
<DD><CODE><A HREF="../../../javax/xml/rpc/ServiceException.html" title="class in javax.xml.rpc">ServiceException</A></CODE> - If this Service class does not |
| 477 |
have access to the required WSDL metadata</DL> |
| 478 |
</DD> |
| 479 |
</DL> |
| 480 |
<HR> |
| 481 |
|
| 482 |
<A NAME="getWSDLDocumentLocation()"><!-- --></A><H3> |
| 483 |
getWSDLDocumentLocation</H3> |
| 484 |
<PRE> |
| 485 |
public java.net.URL <B>getWSDLDocumentLocation</B>()</PRE> |
| 486 |
<DL> |
| 487 |
<DD>Gets location of the WSDL document for this Service. |
| 488 |
<P> |
| 489 |
<DD><DL> |
| 490 |
|
| 491 |
<DT><B>Returns:</B><DD>URL for the location of the WSDL document for |
| 492 |
this service</DL> |
| 493 |
</DD> |
| 494 |
</DL> |
| 495 |
<HR> |
| 496 |
|
| 497 |
<A NAME="getTypeMappingRegistry()"><!-- --></A><H3> |
| 498 |
getTypeMappingRegistry</H3> |
| 499 |
<PRE> |
| 500 |
public <A HREF="../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</A> <B>getTypeMappingRegistry</B>()</PRE> |
| 501 |
<DL> |
| 502 |
<DD>Gets the <code>TypeMappingRegistry</code> for this |
| 503 |
<code>Service</code> object. The returned |
| 504 |
<code>TypeMappingRegistry</code> instance is pre-configured |
| 505 |
to support the standard type mapping between XML and Java |
| 506 |
types types as required by the JAX-RPC specification. |
| 507 |
<P> |
| 508 |
<DD><DL> |
| 509 |
|
| 510 |
<DT><B>Returns:</B><DD>The TypeMappingRegistry for this Service object. |
| 511 |
<DT><B>Throws:</B> |
| 512 |
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - if the <code>Service</code> class does not support |
| 513 |
the configuration of <code>TypeMappingRegistry</code>.</DL> |
| 514 |
</DD> |
| 515 |
</DL> |
| 516 |
<HR> |
| 517 |
|
| 518 |
<A NAME="getHandlerRegistry()"><!-- --></A><H3> |
| 519 |
getHandlerRegistry</H3> |
| 520 |
<PRE> |
| 521 |
public <A HREF="../../../javax/xml/rpc/handler/HandlerRegistry.html" title="interface in javax.xml.rpc.handler">HandlerRegistry</A> <B>getHandlerRegistry</B>()</PRE> |
| 522 |
<DL> |
| 523 |
<DD>Returns the configured <code>HandlerRegistry</code> instance |
| 524 |
for this <code>Service</code> instance. |
| 525 |
<P> |
| 526 |
<DD><DL> |
| 527 |
|
| 528 |
<DT><B>Returns:</B><DD>HandlerRegistry |
| 529 |
<DT><B>Throws:</B> |
| 530 |
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - - if the <code>Service</code> class does not support |
| 531 |
the configuration of a <code>HandlerRegistry</code></DL> |
| 532 |
</DD> |
| 533 |
</DL> |
| 534 |
<!-- ========= END OF CLASS DATA ========= --> |
| 535 |
<HR> |
| 536 |
|
| 537 |
|
| 538 |
<!-- ======= START OF BOTTOM NAVBAR ====== --> |
| 539 |
<A NAME="navbar_bottom"><!-- --></A> |
| 540 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 541 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 542 |
<TR> |
| 543 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 544 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
| 545 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 546 |
<TR ALIGN="center" VALIGN="top"> |
| 547 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 548 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 549 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 550 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Service.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 551 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 552 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 553 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 554 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 555 |
</TR> |
| 556 |
</TABLE> |
| 557 |
</TD> |
| 558 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 559 |
</EM> |
| 560 |
</TD> |
| 561 |
</TR> |
| 562 |
|
| 563 |
<TR> |
| 564 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 565 |
<A HREF="../../../javax/xml/rpc/Call.html" title="interface in javax.xml.rpc"><B>PREV CLASS</B></A> |
| 566 |
<A HREF="../../../javax/xml/rpc/Stub.html" title="interface in javax.xml.rpc"><B>NEXT CLASS</B></A></FONT></TD> |
| 567 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 568 |
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> |
| 569 |
<A HREF="Service.html" target="_top"><B>NO FRAMES</B></A> |
| 570 |
<SCRIPT type="text/javascript"> |
| 571 |
<!-- |
| 572 |
if(window==top) { |
| 573 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 574 |
} |
| 575 |
//--> |
| 576 |
</SCRIPT> |
| 577 |
<NOSCRIPT> |
| 578 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 579 |
</NOSCRIPT> |
| 580 |
|
| 581 |
</FONT></TD> |
| 582 |
</TR> |
| 583 |
<TR> |
| 584 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 585 |
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 586 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 587 |
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 588 |
</TR> |
| 589 |
</TABLE> |
| 590 |
<A NAME="skip-navbar_bottom"></A> |
| 591 |
<!-- ======== END OF BOTTOM NAVBAR ======= --> |
| 592 |
|
| 593 |
<HR> |
| 594 |
Copyright © 2005 Apache Web Services Project. All Rights Reserved. |
| 595 |
</BODY> |
| 596 |
</HTML> |